Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.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.0019/0.0019, 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.002125/0.002125, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.766/1.766, allocations: 230.6 MB / 256 MB, free: 9.617 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.53/1.53, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.Androstenedione.Androstenedione,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione") [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.003995/0.003995, allocations: 73.48 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1671, allocations: 73.99 MB / 0.8473 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione): time 0.003375/0.1705, allocations: 1.824 MB / 0.849 GB, free: 3.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1717, allocations: 0.5419 MB / 0.8496 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.1718, allocations: 4 kB / 0.8496 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1719, allocations: 12.36 kB / 0.8496 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1723, allocations: 72.22 kB / 0.8497 GB, free: 2.383 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1725, allocations: 61.69 kB / 0.8497 GB, free: 2.324 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1727, allocations: 163.8 kB / 0.8499 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.1728, allocations: 9.812 kB / 0.8499 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1729, allocations: 72.38 kB / 0.8499 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1732, allocations: 83.66 kB / 0.85 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1732, allocations: 8.5 kB / 0.85 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.21e-05/0.1732, allocations: 8.594 kB / 0.85 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.1733, allocations: 27.91 kB / 0.8501 GB, free: 1.961 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.1734, allocations: 52.48 kB / 0.8501 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.1736, allocations: 92.2 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1736, allocations: 0 / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd: time 4.098e-06/0.1736, allocations: 4.5 kB / 0.8502 GB, free: 1.816 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1736, allocations: 0 / 0.8502 GB, free: 1.816 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.0009235/0.1745, allocations: 393.4 kB / 0.8506 GB, free: 1.398 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1746, allocations: 12.48 kB / 0.8506 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.1746, allocations: 20.84 kB / 0.8506 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1749, allocations: 155.5 kB / 0.8508 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1749, allocations: 9.094 kB / 0.8508 GB, free: 1.184 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1749, allocations: 12.06 kB / 0.8508 GB, free: 1.172 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1752, allocations: 102.2 kB / 0.8509 GB, free: 1.066 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-06/0.1752, allocations: 0.625 kB / 0.8509 GB, free: 1.066 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1752, allocations: 0 / 0.8509 GB, free: 1.066 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1753, allocations: 0.6875 kB / 0.8509 GB, free: 1.066 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.1756, allocations: 88.94 kB / 0.851 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.1761, allocations: 280.3 kB / 0.8512 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.1766, allocations: 131.6 kB / 0.8514 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.1767, allocations: 61.44 kB / 0.8514 GB, free: 488 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1768, allocations: 0.7188 kB / 0.8514 GB, free: 488 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1771, allocations: 113.2 kB / 0.8515 GB, free: 364 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1771, allocations: 0 / 0.8515 GB, free: 364 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006398/0.1777, allocations: 202.3 kB / 0.8517 GB, free: 160 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1777, allocations: 55.41 kB / 0.8518 GB, free: 92 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1779, allocations: 161.3 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.178, allocations: 26.3 kB / 0.852 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.1781, allocations: 108.1 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.1781, allocations: 48.38 kB / 0.8521 GB, free: 15.74 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.1782, allocations: 37.7 kB / 0.8521 GB, free: 15.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1784, allocations: 328.9 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1786, allocations: 81.66 kB / 0.8525 GB, free: 15.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1789, allocations: 204.4 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1793, allocations: 148.5 kB / 0.8529 GB, free: 14.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1793, allocations: 0 / 0.8529 GB, free: 14.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005085/0.1798, allocations: 235.5 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.1798, allocations: 34.67 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1798, allocations: 3.984 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1798, allocations: 0.5625 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.18, allocations: 32.14 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.18, allocations: 6.406 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1802, allocations: 23.81 kB / 0.8532 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1802, allocations: 4 kB / 0.8532 GB, free: 14.54 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.0001312/0.1804, allocations: 129.8 kB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1804, allocations: 8.734 kB / 0.8533 GB, free: 14.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.1809, allocations: 175.1 kB / 0.8535 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1809, allocations: 0 / 0.8535 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1809, allocations: 0.75 kB / 0.8535 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1809, allocations: 4 kB / 0.8535 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1812, allocations: 149.9 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1812, allocations: 4 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1814, allocations: 24.53 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1814, allocations: 0.75 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1814, allocations: 4 kB / 0.8537 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1814, allocations: 0.5 kB / 0.8537 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1814, allocations: 8.438 kB / 0.8537 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.1821, allocations: 258 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.1821, allocations: 16.5 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.1821, allocations: 8.5 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1823, allocations: 8.609 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.1823, allocations: 19.97 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1824, allocations: 0.5938 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1825, allocations: 119.8 kB / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1825, allocations: 0 / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000226/0.1827, allocations: 32.5 kB / 0.8541 GB, free: 13.54 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.0001361/0.1828, allocations: 104.4 kB / 0.8542 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005009/0.1833, allocations: 209.7 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1833, allocations: 0.5 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1835, allocations: 68.52 kB / 0.8545 GB, free: 13.14 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1839, allocations: 37.81 kB / 0.8545 GB, free: 13.1 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.1847, allocations: 329.2 kB / 0.8548 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1848, allocations: 99.7 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1849, allocations: 19.67 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1849, allocations: 23.98 kB / 0.855 GB, free: 12.6 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1849, allocations: 0.5938 kB / 0.855 GB, free: 12.6 MB / 490.8 MB Notification: Performance of Templates: time 0.2987/0.4836, allocations: 2.623 MB / 0.8575 GB, free: 28.11 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Androstenedione.Androstenedione.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.527289994060993]