Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_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: 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.003169/0.003169, allocations: 213.9 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.755/1.755, allocations: 230.6 MB / 256 MB, free: 9.594 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.428/1.428, 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.Cesium137.Cesium137_HARRISON1963_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_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.004047/0.004047, allocations: 77.47 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1588, allocations: 73.98 MB / 0.8472 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference): time 0.003315/0.1621, allocations: 1.82 MB / 0.849 GB, free: 3.078 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1633, allocations: 0.5421 MB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.1633, allocations: 4 kB / 0.8495 GB, free: 2.531 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.773e-05/0.1634, allocations: 12.45 kB / 0.8495 GB, free: 2.52 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1638, allocations: 68.78 kB / 0.8496 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.164, allocations: 63.06 kB / 0.8497 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1642, allocations: 163.3 kB / 0.8498 GB, free: 2.238 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.1643, allocations: 9.297 kB / 0.8498 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1644, allocations: 71.72 kB / 0.8499 GB, free: 2.16 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1647, allocations: 87.69 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.1647, allocations: 10.44 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.1647, allocations: 8 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.1648, allocations: 31.84 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.1649, allocations: 43.8 kB / 0.8501 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1651, allocations: 103.5 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1651, allocations: 0 / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1651, allocations: 2.125 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1651, allocations: 4 kB / 0.8502 GB, free: 1.879 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.000925/0.166, allocations: 392.8 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1661, allocations: 11.89 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.1661, allocations: 20.84 kB / 0.8506 GB, free: 1.43 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1664, allocations: 146.9 kB / 0.8507 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1664, allocations: 5.438 kB / 0.8507 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.1664, allocations: 12.12 kB / 0.8507 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.1667, allocations: 102.2 kB / 0.8508 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1667, allocations: 0.625 kB / 0.8508 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1667, allocations: 7.938 kB / 0.8508 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1667, allocations: 0.5938 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.167, allocations: 76.48 kB / 0.8509 GB, free: 1.059 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1676, allocations: 281 kB / 0.8512 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.1681, allocations: 139.6 kB / 0.8513 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1683, allocations: 53.5 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1683, allocations: 4.688 kB / 0.8514 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.1686, allocations: 115.8 kB / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.1686, allocations: 0.625 kB / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006069/0.1692, allocations: 204 kB / 0.8517 GB, free: 228 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1692, allocations: 55.41 kB / 0.8517 GB, free: 160 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1694, allocations: 153.5 kB / 0.8519 GB, free: 0 / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.1695, allocations: 33.75 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.1695, allocations: 104.1 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.1696, allocations: 49.92 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.1697, allocations: 37.7 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1699, allocations: 326.8 kB / 0.8524 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1701, allocations: 81.66 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1704, allocations: 201.2 kB / 0.8527 GB, free: 15.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.1707, allocations: 147 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1707, allocations: 0.9688 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005061/0.1712, allocations: 239.4 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.1713, allocations: 33.7 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1713, allocations: 0 / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1713, allocations: 0.9375 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1715, allocations: 23.98 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1715, allocations: 4.5 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1716, allocations: 33.48 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1717, allocations: 4.219 kB / 0.8531 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.0001277/0.1718, allocations: 125.8 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.1718, allocations: 13.23 kB / 0.8533 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.1723, allocations: 173.7 kB / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1723, allocations: 5.031 kB / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1723, allocations: 0 / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1723, allocations: 3.984 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.1725, allocations: 149.9 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1725, allocations: 4 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1726, allocations: 24.61 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1726, allocations: 0.75 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1726, allocations: 4 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1727, allocations: 0.5938 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1727, allocations: 4 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.1733, allocations: 261.2 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.1733, allocations: 12.42 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1733, allocations: 4.047 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1735, allocations: 24.52 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1735, allocations: 12.7 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1735, allocations: 7.984 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1737, allocations: 119.9 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1737, allocations: 0 / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002168/0.1739, allocations: 32.5 kB / 0.8541 GB, free: 13.61 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.0001423/0.174, allocations: 102.9 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.1745, allocations: 213.6 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1745, allocations: 0.5938 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.1747, allocations: 64.58 kB / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.175, allocations: 46.31 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000774/0.1758, allocations: 327.1 kB / 0.8548 GB, free: 12.83 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1759, allocations: 102.9 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.942e-05/0.176, allocations: 24.67 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.1761, allocations: 15.44 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1761, allocations: 0.5938 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of Templates: time 0.2381/0.4142, allocations: 2.63 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_HARRISON1963_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.338485693093389]