Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_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.002587/0.002587, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002002/0.002002, allocations: 218.4 kB / 22.26 MB, free: 3.559 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.686/1.686, allocations: 230.6 MB / 256 MB, free: 9.613 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.44/1.44, allocations: 316.7 MB / 0.6144 GB, free: 93.11 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.Testosterone.Testosterone_Torne2007_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_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.004137/0.004137, allocations: 73.42 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1519, allocations: 74 MB / 0.8472 GB, free: 4.93 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference): time 0.004418/0.1564, allocations: 1.813 MB / 0.849 GB, free: 3.117 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1579, allocations: 0.5458 MB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.158, allocations: 0 / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1581, allocations: 16.44 kB / 0.8496 GB, free: 2.555 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.1585, allocations: 65.02 kB / 0.8496 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1588, allocations: 57.56 kB / 0.8497 GB, free: 2.438 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.1592, allocations: 168.4 kB / 0.8498 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1592, allocations: 5.312 kB / 0.8498 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1594, allocations: 75.69 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1597, allocations: 84.16 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1598, allocations: 8.5 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.1598, allocations: 8.625 kB / 0.85 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.1599, allocations: 31.89 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.16, allocations: 48.38 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1602, allocations: 92.14 kB / 0.8502 GB, free: 1.93 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1602, allocations: 4 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1602, allocations: 0.6875 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1602, allocations: 0 / 0.8502 GB, free: 1.926 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.001123/0.1613, allocations: 393.3 kB / 0.8505 GB, free: 1.508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1614, allocations: 8.594 kB / 0.8506 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.1615, allocations: 16.84 kB / 0.8506 GB, free: 1.484 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1618, allocations: 155.4 kB / 0.8507 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1618, allocations: 5 kB / 0.8507 GB, free: 1.305 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.1619, allocations: 20.06 kB / 0.8507 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.1623, allocations: 94.25 kB / 0.8508 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1623, allocations: 4.656 kB / 0.8508 GB, free: 1.184 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1623, allocations: 4 kB / 0.8508 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1623, allocations: 0.625 kB / 0.8508 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.1627, allocations: 85.09 kB / 0.8509 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.1634, allocations: 284.3 kB / 0.8512 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.164, allocations: 127.7 kB / 0.8513 GB, free: 0.6562 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.1643, allocations: 57.44 kB / 0.8514 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1643, allocations: 0.625 kB / 0.8514 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.1647, allocations: 115.4 kB / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1647, allocations: 0.5938 kB / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008531/0.1656, allocations: 204.1 kB / 0.8517 GB, free: 280 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.1656, allocations: 55.41 kB / 0.8517 GB, free: 212 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1659, allocations: 161.3 kB / 0.8519 GB, free: 44 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1659, allocations: 25.7 kB / 0.8519 GB, free: 12 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.166, allocations: 108.1 kB / 0.852 GB, free: 15.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1661, allocations: 44.36 kB / 0.8521 GB, free: 15.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1662, allocations: 37.7 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.1664, allocations: 328.6 kB / 0.8524 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.1667, allocations: 81.66 kB / 0.8525 GB, free: 15.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.1675, allocations: 204.4 kB / 0.8527 GB, free: 15.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.1681, allocations: 147.6 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1681, allocations: 1.094 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000719/0.1688, allocations: 239.5 kB / 0.853 GB, free: 14.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.1688, allocations: 30.8 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1688, allocations: 0 / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1688, allocations: 0 / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.1691, allocations: 37.22 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1691, allocations: 0 / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1693, allocations: 26.66 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1694, allocations: 4 kB / 0.8531 GB, free: 14.67 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.0001788/0.1695, allocations: 133.7 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.1696, allocations: 7.953 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.1702, allocations: 175.6 kB / 0.8534 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1702, allocations: 0 / 0.8534 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1702, allocations: 8 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1703, allocations: 4.031 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1705, allocations: 150.8 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1705, allocations: 3.938 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.1708, allocations: 27.97 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1708, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1708, allocations: 4.812 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1708, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1708, allocations: 0.75 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.1717, allocations: 257.1 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1717, allocations: 15.91 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1718, allocations: 4.562 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.172, allocations: 12.61 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.172, allocations: 16.59 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1721, allocations: 8 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1722, allocations: 116 kB / 0.854 GB, free: 13.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1722, allocations: 4 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003796/0.1726, allocations: 28.78 kB / 0.8541 GB, free: 13.66 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.000169/0.1728, allocations: 100 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.1735, allocations: 218.2 kB / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1735, allocations: 0 / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.1738, allocations: 64.92 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1742, allocations: 45.61 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1752, allocations: 333.2 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.1754, allocations: 103.3 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1755, allocations: 20.39 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.1756, allocations: 19.42 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.1756, allocations: 4.781 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.3397/0.5153, allocations: 2.625 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.594003064092249]