Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_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.002729/0.002729, 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.00615/0.00615, 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.763/1.763, allocations: 230.6 MB / 256 MB, free: 9.59 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.446/1.446, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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_Kirchner1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_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.003946/0.003946, allocations: 77.47 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1595, allocations: 73.98 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference): time 0.003651/0.1631, allocations: 1.816 MB / 0.849 GB, free: 3.09 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1644, allocations: 0.5495 MB / 0.8495 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.1645, allocations: 0 / 0.8495 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.1646, allocations: 12.58 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.165, allocations: 64.78 kB / 0.8496 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1652, allocations: 65.47 kB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1655, allocations: 164 kB / 0.8498 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1655, allocations: 9.297 kB / 0.8498 GB, free: 2.238 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1657, allocations: 69.86 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.166, allocations: 87.62 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.166, allocations: 11.94 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.166, allocations: 8 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.1661, allocations: 27.91 kB / 0.85 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.188e-05/0.1662, allocations: 49.14 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1664, allocations: 103.5 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1664, allocations: 0 / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1664, allocations: 0 / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1664, allocations: 9.547 kB / 0.8502 GB, free: 1.883 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.0009538/0.1674, allocations: 390.1 kB / 0.8506 GB, free: 1.469 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1674, allocations: 11.89 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.1675, allocations: 16.84 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1677, allocations: 146.9 kB / 0.8507 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1678, allocations: 8.375 kB / 0.8507 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1678, allocations: 12.12 kB / 0.8508 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1681, allocations: 102.4 kB / 0.8508 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1681, allocations: 0 / 0.8508 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1681, allocations: 0.7812 kB / 0.8508 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1681, allocations: 4 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1684, allocations: 81.08 kB / 0.8509 GB, free: 1.066 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.1691, allocations: 288.8 kB / 0.8512 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.1695, allocations: 135.7 kB / 0.8513 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.1697, allocations: 53.47 kB / 0.8514 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1697, allocations: 0.7812 kB / 0.8514 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.17, allocations: 111.9 kB / 0.8515 GB, free: 448 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.17, allocations: 4 kB / 0.8515 GB, free: 444 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006452/0.1707, allocations: 199.4 kB / 0.8517 GB, free: 240 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1707, allocations: 59.39 kB / 0.8517 GB, free: 168 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1709, allocations: 155 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.1709, allocations: 30.33 kB / 0.8519 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.171, allocations: 100.1 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1711, allocations: 48.3 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.1712, allocations: 37.69 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1713, allocations: 332.7 kB / 0.8524 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.1716, allocations: 81.66 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.1719, allocations: 198.1 kB / 0.8527 GB, free: 15.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.1725, allocations: 147.4 kB / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1725, allocations: 0 / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005059/0.173, allocations: 243.3 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.1731, allocations: 33.7 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1731, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1731, allocations: 1.125 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1733, allocations: 31.92 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1733, allocations: 2.031 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1734, allocations: 23.88 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1735, allocations: 7.984 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.0001483/0.1736, allocations: 121.8 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1736, allocations: 12.48 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.1741, allocations: 183.5 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1741, allocations: 4 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1741, allocations: 0 / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1741, allocations: 0 / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1743, allocations: 154.3 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1743, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.1745, allocations: 19.98 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1745, allocations: 4.875 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1745, allocations: 7.938 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1745, allocations: 4.594 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1745, allocations: 0 / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.1752, allocations: 256.7 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.1752, allocations: 12.52 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1753, allocations: 8.625 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1754, allocations: 12.58 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.1755, allocations: 15.97 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1755, allocations: 4.5 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1756, allocations: 126.4 kB / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1756, allocations: 0 / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002263/0.1759, allocations: 32.72 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.0001859/0.176, allocations: 102.3 kB / 0.8542 GB, free: 13.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.1766, allocations: 218.1 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1766, allocations: 0.625 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1768, allocations: 60.52 kB / 0.8545 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1771, allocations: 42.05 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.0008467/0.178, allocations: 330.8 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.1781, allocations: 99.11 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1782, allocations: 27.84 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.1782, allocations: 15.97 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of SimCode: time 7.72e-07/0.1782, allocations: 8.625 kB / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of Templates: time 0.2945/0.4728, allocations: 2.619 MB / 0.8575 GB, free: 28.25 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.308675439096987]