Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_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.001972/0.001972, allocations: 109.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.002164/0.002164, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.773/1.773, allocations: 230.6 MB / 256 MB, free: 9.629 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.442/1.442, allocations: 316.8 MB / 0.6144 GB, free: 93 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.ButyricAcid.ButyricAcid_Daniel1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_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.004077/0.004077, allocations: 77.92 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1637, allocations: 74 MB / 0.8473 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference): time 0.003416/0.1671, allocations: 1.811 MB / 0.849 GB, free: 3.09 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1683, allocations: 0.5456 MB / 0.8496 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.1684, allocations: 4 kB / 0.8496 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.1685, allocations: 12.48 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1688, allocations: 60.83 kB / 0.8496 GB, free: 2.469 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.169, allocations: 68.42 kB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1693, allocations: 168 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.1693, allocations: 1.906 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1695, allocations: 75.7 kB / 0.8499 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.1697, allocations: 80.3 kB / 0.85 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1698, allocations: 8.562 kB / 0.85 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.1698, allocations: 8.562 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.1699, allocations: 39.83 kB / 0.8501 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.642e-05/0.17, allocations: 48.41 kB / 0.8501 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1702, allocations: 95.56 kB / 0.8502 GB, free: 1.895 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1702, allocations: 0.75 kB / 0.8502 GB, free: 1.895 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1702, allocations: 0 / 0.8502 GB, free: 1.895 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1702, allocations: 4.594 kB / 0.8502 GB, free: 1.891 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.0009032/0.1711, allocations: 389.5 kB / 0.8506 GB, free: 1.477 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1711, allocations: 11.89 kB / 0.8506 GB, free: 1.465 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.1712, allocations: 17.56 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1714, allocations: 150.9 kB / 0.8508 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1714, allocations: 5 kB / 0.8508 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.1715, allocations: 12.12 kB / 0.8508 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.1718, allocations: 102.2 kB / 0.8509 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1718, allocations: 4.531 kB / 0.8509 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1718, allocations: 8.609 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1718, allocations: 0 / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.1721, allocations: 77.11 kB / 0.851 GB, free: 1.07 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.1726, allocations: 284.9 kB / 0.8512 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.1731, allocations: 135.5 kB / 0.8514 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1732, allocations: 53.31 kB / 0.8514 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1733, allocations: 0.625 kB / 0.8514 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.1736, allocations: 120 kB / 0.8515 GB, free: 448 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1736, allocations: 0 / 0.8515 GB, free: 448 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006478/0.1742, allocations: 206.2 kB / 0.8517 GB, free: 240 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1743, allocations: 55.41 kB / 0.8518 GB, free: 172 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1744, allocations: 154.1 kB / 0.8519 GB, free: 12 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.1745, allocations: 33.7 kB / 0.852 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.1746, allocations: 104.9 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.654e-05/0.1747, allocations: 47.64 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.1747, allocations: 38.52 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1749, allocations: 326.8 kB / 0.8525 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.1751, allocations: 82.28 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.1757, allocations: 202.7 kB / 0.8527 GB, free: 15.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.1761, allocations: 149.9 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1761, allocations: 0.5938 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000503/0.1766, allocations: 238 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.1766, allocations: 33.7 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1766, allocations: 0.5625 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1766, allocations: 0.5 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1768, allocations: 24.67 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1768, allocations: 7.984 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.177, allocations: 24.59 kB / 0.8532 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.177, allocations: 8.5 kB / 0.8532 GB, free: 14.62 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.0001273/0.1772, allocations: 126.3 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1772, allocations: 8.547 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.1777, allocations: 175.5 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1777, allocations: 0.5 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1777, allocations: 3.938 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1777, allocations: 8.484 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1779, allocations: 145.8 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1779, allocations: 4 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.1781, allocations: 20.48 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1781, allocations: 0.5938 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1781, allocations: 8.562 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1781, allocations: 3.984 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1781, allocations: 0.5938 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.1787, allocations: 250 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1788, allocations: 16.55 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1788, allocations: 7.984 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.179, allocations: 12.58 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.179, allocations: 12.48 kB / 0.854 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.179, allocations: 8.422 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1792, allocations: 122.6 kB / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002305/0.1794, allocations: 32.62 kB / 0.8541 GB, free: 13.62 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.000143/0.1795, allocations: 103.9 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.18, allocations: 216.8 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.18, allocations: 4.625 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1802, allocations: 60.52 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1806, allocations: 45.44 kB / 0.8545 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/0.1814, allocations: 330 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.1815, allocations: 103.3 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1816, allocations: 24.36 kB / 0.855 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.1816, allocations: 19.38 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of SimCode: time 3.01e-07/0.1816, allocations: 0.6562 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of Templates: time 0.2644/0.446, allocations: 2.628 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid_Daniel1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.506695868913084]