Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002311, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001575/0.00261, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.058/1.058, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09519/1.154, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.791/0.791, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03338/0.8243, allocations: 21.05 MB / 0.5433 GB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5447 GB, free: 30.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.404e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference): time 0.003734/0.003758, allocations: 2.521 MB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004864, allocations: 0.6348 MB / 0.5478 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.004978, allocations: 0 / 0.5478 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.661e-05/0.005064, allocations: 23.72 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.005257, allocations: 91.27 kB / 0.5479 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.005429, allocations: 43.94 kB / 0.5479 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.005713, allocations: 266.6 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.005845, allocations: 46.47 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.006112, allocations: 180.1 kB / 0.5484 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.006334, allocations: 87.78 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.006369, allocations: 16 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.708e-05/0.006406, allocations: 20 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.006443, allocations: 27.88 kB / 0.5485 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.006527, allocations: 59.88 kB / 0.5486 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.006744, allocations: 135.5 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.006758, allocations: 3.984 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006759, allocations: 3.938 kB / 0.5487 GB, free: 25.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.006769, allocations: 3.938 kB / 0.5487 GB, free: 25.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000743/0.007512, allocations: 0.4937 MB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.007552, allocations: 19.89 kB / 0.5492 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.007617, allocations: 16.92 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.007828, allocations: 179.1 kB / 0.5494 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.007852, allocations: 8.609 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.007887, allocations: 16.31 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.008106, allocations: 155.5 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.008119, allocations: 4 kB / 0.5496 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.008132, allocations: 4 kB / 0.5496 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.008141, allocations: 4 kB / 0.5496 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.008249, allocations: 82.34 kB / 0.5497 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.008779, allocations: 368.8 kB / 0.55 GB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.009, allocations: 111.6 kB / 0.5501 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.009051, allocations: 58.55 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.009061, allocations: 0 / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.009245, allocations: 192.4 kB / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.009246, allocations: 0 / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006519/0.009898, allocations: 0.5243 MB / 0.5509 GB, free: 23.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.009935, allocations: 162.2 kB / 0.5511 GB, free: 23.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.01002, allocations: 210.1 kB / 0.5513 GB, free: 23.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.01003, allocations: 29.7 kB / 0.5513 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.01007, allocations: 116.4 kB / 0.5514 GB, free: 22.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.0101, allocations: 75.34 kB / 0.5515 GB, free: 22.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.01015, allocations: 55.17 kB / 0.5515 GB, free: 22.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.01018, allocations: 334.8 kB / 0.5518 GB, free: 22.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.01024, allocations: 97 kB / 0.5519 GB, free: 22.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.0103, allocations: 173.4 kB / 0.5521 GB, free: 22.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.01041, allocations: 219.6 kB / 0.5523 GB, free: 21.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01041, allocations: 0 / 0.5523 GB, free: 21.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001539/0.01056, allocations: 265.1 kB / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.0106, allocations: 63.39 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01061, allocations: 6.656 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01062, allocations: 0 / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.01078, allocations: 67.91 kB / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.01078, allocations: 7.984 kB / 0.5527 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.01086, allocations: 20.16 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01087, allocations: 4 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.01097, allocations: 173.7 kB / 0.5529 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.011, allocations: 23.97 kB / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.01103, allocations: 21.97 kB / 0.5529 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01103, allocations: 7.984 kB / 0.5529 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01103, allocations: 0 / 0.5529 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.01104, allocations: 3.984 kB / 0.5529 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.01129, allocations: 381.2 kB / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.0113, allocations: 6.062 kB / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.01142, allocations: 43.91 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.01144, allocations: 19.86 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01144, allocations: 0 / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01145, allocations: 3.984 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01146, allocations: 4 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01146, allocations: 0 / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.01164, allocations: 345 kB / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.01167, allocations: 15.94 kB / 0.5537 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.01174, allocations: 11.98 kB / 0.5537 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.01179, allocations: 19.97 kB / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.01179, allocations: 7.938 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.265e-05/0.01184, allocations: 65.94 kB / 0.5538 GB, free: 20.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01184, allocations: 3.938 kB / 0.5538 GB, free: 20.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.012, allocations: 56 kB / 0.5539 GB, free: 20.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.435e-05/0.01209, allocations: 92.41 kB / 0.554 GB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.01226, allocations: 312.6 kB / 0.5543 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.01227, allocations: 4 kB / 0.5543 GB, free: 19.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.01234, allocations: 152.8 kB / 0.5544 GB, free: 19.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.01265, allocations: 0.5038 MB / 0.5549 GB, free: 18.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.0178, allocations: 0.5658 MB / 0.5555 GB, free: 18.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.01784, allocations: 80.33 kB / 0.5555 GB, free: 18.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.596e-05/0.01794, allocations: 29.97 kB / 0.5556 GB, free: 18.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.01807, allocations: 115.3 kB / 0.5557 GB, free: 18.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01807, allocations: 0 / 0.5557 GB, free: 18.05 MB / 410.7 MB Notification: Performance of Templates: time 0.2499/0.268, allocations: 3.771 MB / 0.5594 GB, free: 84.72 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6367228562012315]