Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.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.002391/0.002391, 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.00282/0.00282, allocations: 211.6 kB / 22.25 MB, free: 3.57 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.641 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.445/1.445, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137") [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.003948/0.003948, allocations: 77.77 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.154, allocations: 73.99 MB / 0.8473 GB, free: 4.941 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137): time 0.003344/0.1574, allocations: 1.831 MB / 0.849 GB, free: 3.113 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1584, allocations: 0.5459 MB / 0.8496 GB, free: 2.566 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.1585, allocations: 0 / 0.8496 GB, free: 2.566 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.431e-05/0.1586, allocations: 12.7 kB / 0.8496 GB, free: 2.555 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.159, allocations: 60.8 kB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1593, allocations: 68.8 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1596, allocations: 168 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.1596, allocations: 5.969 kB / 0.8499 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1597, allocations: 75.69 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.16, allocations: 80.31 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.16, allocations: 8.625 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.375e-05/0.16, allocations: 8 kB / 0.85 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.1601, allocations: 36.67 kB / 0.8501 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.1602, allocations: 47.78 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1603, allocations: 100.2 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1603, allocations: 0 / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1603, allocations: 0.7188 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1604, allocations: 0 / 0.8502 GB, free: 1.918 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.0008419/0.1612, allocations: 390.7 kB / 0.8506 GB, free: 1.504 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1612, allocations: 8.625 kB / 0.8506 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1613, allocations: 24.78 kB / 0.8506 GB, free: 1.473 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1615, allocations: 147.5 kB / 0.8508 GB, free: 1.305 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1615, allocations: 5 kB / 0.8508 GB, free: 1.301 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1616, allocations: 16.12 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1618, allocations: 102.2 kB / 0.8509 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1619, allocations: 0.5938 kB / 0.8509 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1619, allocations: 4.656 kB / 0.8509 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1619, allocations: 4 kB / 0.8509 GB, free: 1.172 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.1622, allocations: 80.89 kB / 0.851 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.1627, allocations: 288.8 kB / 0.8512 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.1631, allocations: 131.6 kB / 0.8514 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1633, allocations: 54.09 kB / 0.8514 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1633, allocations: 4 kB / 0.8514 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.1636, allocations: 112.5 kB / 0.8515 GB, free: 476 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1636, allocations: 0 / 0.8515 GB, free: 476 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000608/0.1642, allocations: 199 kB / 0.8517 GB, free: 272 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1643, allocations: 55.41 kB / 0.8518 GB, free: 204 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1645, allocations: 155.5 kB / 0.8519 GB, free: 40 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1645, allocations: 29.7 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1646, allocations: 108.1 kB / 0.852 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1646, allocations: 46.2 kB / 0.8521 GB, free: 15.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.1647, allocations: 37.7 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1649, allocations: 326.8 kB / 0.8524 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1651, allocations: 81.66 kB / 0.8525 GB, free: 15.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1654, allocations: 204.8 kB / 0.8527 GB, free: 15.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.1657, allocations: 144 kB / 0.8529 GB, free: 15.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1657, allocations: 0 / 0.8529 GB, free: 15.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005052/0.1662, allocations: 244.5 kB / 0.8531 GB, free: 14.76 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.1663, allocations: 29.7 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1663, allocations: 0 / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1663, allocations: 4.75 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1665, allocations: 33 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1665, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1666, allocations: 23.88 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1667, allocations: 4.594 kB / 0.8532 GB, free: 14.66 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.0001219/0.1668, allocations: 122.9 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1668, allocations: 8.172 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.1673, allocations: 182.3 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1673, allocations: 7.938 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1673, allocations: 4.438 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1673, allocations: 4.578 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1675, allocations: 149.2 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1675, allocations: 0.5938 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.1676, allocations: 28.58 kB / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1676, allocations: 0.5 kB / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1677, allocations: 7.984 kB / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1677, allocations: 0.7188 kB / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1677, allocations: 0.625 kB / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.1683, allocations: 258.3 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.1683, allocations: 11.89 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1683, allocations: 4.797 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1685, allocations: 15.98 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.1685, allocations: 9.766 kB / 0.854 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1686, allocations: 7.984 kB / 0.854 GB, free: 13.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1687, allocations: 121.9 kB / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002223/0.1689, allocations: 32 kB / 0.8541 GB, free: 13.65 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.000113/0.169, allocations: 100.5 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.1695, allocations: 214.5 kB / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1695, allocations: 0 / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1697, allocations: 64.48 kB / 0.8545 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.0003008/0.17, allocations: 42.25 kB / 0.8545 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000955/0.1709, allocations: 337 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.171, allocations: 102.8 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.129e-05/0.1711, allocations: 20.61 kB / 0.855 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.1712, allocations: 15.44 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 3e-07/0.1712, allocations: 0.75 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.2728/0.444, allocations: 2.621 MB / 0.8575 GB, free: 28.19 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.270118392072618]