Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_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.002494/0.002494, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.00307/0.00307, allocations: 214.4 kB / 22.25 MB, free: 3.566 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.731/1.731, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 1.509/1.509, allocations: 316.8 MB / 0.6144 GB, free: 93.47 MB / 410.7 MB " [Timeout remaining time 178] 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.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003898/0.003898, allocations: 76.3 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1696, allocations: 74 MB / 0.8473 GB, free: 5.164 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference): time 0.003455/0.173, allocations: 1.808 MB / 0.849 GB, free: 3.359 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1743, allocations: 0.5454 MB / 0.8496 GB, free: 2.812 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1744, allocations: 0.5312 kB / 0.8496 GB, free: 2.812 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1745, allocations: 15.86 kB / 0.8496 GB, free: 2.797 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.1748, allocations: 64.83 kB / 0.8497 GB, free: 2.734 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.1751, allocations: 66.36 kB / 0.8497 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1753, allocations: 163.3 kB / 0.8499 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.1754, allocations: 5.938 kB / 0.8499 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1755, allocations: 80.31 kB / 0.85 GB, free: 2.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1758, allocations: 75.72 kB / 0.85 GB, free: 2.355 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.1758, allocations: 8.5 kB / 0.85 GB, free: 2.348 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.313e-05/0.1758, allocations: 8.594 kB / 0.85 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.1759, allocations: 35.83 kB / 0.8501 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.176, allocations: 48.34 kB / 0.8501 GB, free: 2.258 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1762, allocations: 96.19 kB / 0.8502 GB, free: 2.164 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1762, allocations: 4 kB / 0.8502 GB, free: 2.16 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1762, allocations: 0.5 kB / 0.8502 GB, free: 2.16 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1762, allocations: 0.625 kB / 0.8502 GB, free: 2.16 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008867/0.1771, allocations: 388.7 kB / 0.8506 GB, free: 1.746 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1771, allocations: 12.66 kB / 0.8506 GB, free: 1.734 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1771, allocations: 13.41 kB / 0.8506 GB, free: 1.723 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1774, allocations: 150.9 kB / 0.8508 GB, free: 1.551 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1774, allocations: 9.094 kB / 0.8508 GB, free: 1.543 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.1774, allocations: 12.06 kB / 0.8508 GB, free: 1.531 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.1777, allocations: 102.8 kB / 0.8509 GB, free: 1.426 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1777, allocations: 3.938 kB / 0.8509 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1778, allocations: 4.625 kB / 0.8509 GB, free: 1.418 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1778, allocations: 0 / 0.8509 GB, free: 1.418 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1781, allocations: 77.23 kB / 0.851 GB, free: 1.344 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.1786, allocations: 288.8 kB / 0.8512 GB, free: 1.031 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.179, allocations: 131.5 kB / 0.8514 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1792, allocations: 57.31 kB / 0.8514 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1792, allocations: 0.5938 kB / 0.8514 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.1795, allocations: 111.9 kB / 0.8515 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1795, allocations: 0.5938 kB / 0.8515 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006492/0.1802, allocations: 207.1 kB / 0.8517 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.1802, allocations: 51.41 kB / 0.8518 GB, free: 460 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1804, allocations: 161.3 kB / 0.8519 GB, free: 292 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1805, allocations: 29.7 kB / 0.852 GB, free: 256 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.1808, allocations: 109.4 kB / 0.8521 GB, free: 144 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.1809, allocations: 43.64 kB / 0.8521 GB, free: 100 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.1809, allocations: 37.7 kB / 0.8521 GB, free: 56 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1812, allocations: 331.9 kB / 0.8525 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1814, allocations: 81.66 kB / 0.8525 GB, free: 15.64 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1817, allocations: 196.1 kB / 0.8527 GB, free: 15.41 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.182, allocations: 145.1 kB / 0.8529 GB, free: 15.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.182, allocations: 0 / 0.8529 GB, free: 15.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000511/0.1825, allocations: 243.2 kB / 0.8531 GB, free: 15.01 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.1826, allocations: 33.7 kB / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1826, allocations: 0 / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1826, allocations: 0 / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1828, allocations: 34.38 kB / 0.8532 GB, free: 14.94 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1828, allocations: 0 / 0.8532 GB, free: 14.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.183, allocations: 28.03 kB / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.183, allocations: 8 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001399/0.1831, allocations: 121.7 kB / 0.8533 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1831, allocations: 13.08 kB / 0.8533 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.1836, allocations: 171 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1836, allocations: 3.938 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1836, allocations: 0.625 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.1836, allocations: 3.984 kB / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1838, allocations: 153.8 kB / 0.8536 GB, free: 14.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1838, allocations: 4.719 kB / 0.8536 GB, free: 14.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.184, allocations: 23.98 kB / 0.8537 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.184, allocations: 0.7969 kB / 0.8537 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.184, allocations: 7.969 kB / 0.8537 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.184, allocations: 8.656 kB / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.184, allocations: 0 / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.1847, allocations: 254.1 kB / 0.8539 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.1847, allocations: 12.42 kB / 0.8539 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1847, allocations: 8.484 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1849, allocations: 12.67 kB / 0.8539 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.185, allocations: 12.48 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.185, allocations: 7.984 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1851, allocations: 119.8 kB / 0.8541 GB, free: 13.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1851, allocations: 0.5312 kB / 0.8541 GB, free: 13.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002239/0.1853, allocations: 32 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 0.00015/0.1855, allocations: 104.4 kB / 0.8542 GB, free: 13.79 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.186, allocations: 210.2 kB / 0.8544 GB, free: 13.56 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.186, allocations: 4 kB / 0.8544 GB, free: 13.56 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.1862, allocations: 65.11 kB / 0.8545 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1865, allocations: 42.8 kB / 0.8545 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/0.1873, allocations: 326 kB / 0.8548 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.1875, allocations: 102.8 kB / 0.8549 GB, free: 13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.1876, allocations: 24.48 kB / 0.855 GB, free: 12.98 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.1876, allocations: 20.03 kB / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of SimCode: time 9.12e-07/0.1876, allocations: 0 / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of Templates: time 0.2639/0.4515, allocations: 2.633 MB / 0.8575 GB, free: 28.19 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.565816563088447]