Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_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.001813/0.001813, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.001924/0.001924, allocations: 219.5 kB / 22.25 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.729/1.729, 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.524/1.524, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.Americium241.Americium241_Stanley1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_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.005094/0.005094, allocations: 73.67 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1517, allocations: 73.99 MB / 0.8472 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference): time 0.003328/0.155, allocations: 1.809 MB / 0.849 GB, free: 3.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1562, allocations: 0.5454 MB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.1562, allocations: 0 / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1564, allocations: 12.39 kB / 0.8495 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.1568, allocations: 64.78 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.157, allocations: 66.23 kB / 0.8497 GB, free: 2.371 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1572, allocations: 163.3 kB / 0.8498 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.1573, allocations: 9.797 kB / 0.8498 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1574, allocations: 76.31 kB / 0.8499 GB, free: 2.129 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.1577, allocations: 75.72 kB / 0.85 GB, free: 2.055 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1577, allocations: 8.625 kB / 0.85 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.338e-05/0.1577, allocations: 8.594 kB / 0.85 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.1578, allocations: 39.83 kB / 0.85 GB, free: 2 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.1579, allocations: 48.56 kB / 0.8501 GB, free: 1.953 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1581, allocations: 91.58 kB / 0.8502 GB, free: 1.863 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1581, allocations: 4.75 kB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1581, allocations: 0 / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1581, allocations: 0.5938 kB / 0.8502 GB, free: 1.859 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.0008973/0.159, allocations: 393 kB / 0.8505 GB, free: 1.441 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.159, allocations: 8.688 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.1591, allocations: 16.84 kB / 0.8506 GB, free: 1.418 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1594, allocations: 159.5 kB / 0.8507 GB, free: 1.238 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1594, allocations: 4.375 kB / 0.8507 GB, free: 1.234 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.1594, allocations: 16.69 kB / 0.8507 GB, free: 1.219 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1597, allocations: 94.34 kB / 0.8508 GB, free: 1.121 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1597, allocations: 0.7812 kB / 0.8508 GB, free: 1.121 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1597, allocations: 7.984 kB / 0.8508 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1597, allocations: 0 / 0.8508 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.16, allocations: 81.27 kB / 0.8509 GB, free: 1.035 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1606, allocations: 280.8 kB / 0.8512 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.161, allocations: 135.1 kB / 0.8513 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1612, allocations: 53.97 kB / 0.8514 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1612, allocations: 0 / 0.8514 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.1615, allocations: 123.8 kB / 0.8515 GB, free: 416 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1615, allocations: 2.156 kB / 0.8515 GB, free: 416 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006101/0.1621, allocations: 197.6 kB / 0.8517 GB, free: 212 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.1622, allocations: 55.41 kB / 0.8517 GB, free: 144 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1624, allocations: 159.4 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1624, allocations: 29.7 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.1625, allocations: 104.1 kB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.1626, allocations: 51.55 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.1626, allocations: 37.7 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1628, allocations: 328 kB / 0.8524 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.163, allocations: 81.66 kB / 0.8525 GB, free: 15.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1633, allocations: 204.6 kB / 0.8527 GB, free: 15.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.1637, allocations: 148.8 kB / 0.8528 GB, free: 14.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1637, allocations: 0 / 0.8528 GB, free: 14.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004944/0.1642, allocations: 237.6 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.1642, allocations: 36.03 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1642, allocations: 1.188 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1642, allocations: 0 / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1644, allocations: 27.98 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1644, allocations: 0.5625 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.1646, allocations: 24.56 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1646, allocations: 4 kB / 0.8531 GB, free: 14.6 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.0001302/0.1647, allocations: 132.1 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1648, allocations: 7.953 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.1652, allocations: 179.5 kB / 0.8534 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1652, allocations: 224 / 0.8534 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1653, allocations: 4.594 kB / 0.8534 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1653, allocations: 8.562 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1655, allocations: 153.2 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1655, allocations: 0.625 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.1656, allocations: 24.56 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1656, allocations: 4 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1656, allocations: 4.5 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1656, allocations: 0.5938 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1656, allocations: 0 / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.1663, allocations: 252.9 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.1663, allocations: 19.86 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1664, allocations: 4.594 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1665, allocations: 12.55 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.1666, allocations: 20.62 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1666, allocations: 4 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1667, allocations: 122.4 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1667, allocations: 0.6875 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002346/0.1669, allocations: 28 kB / 0.8541 GB, free: 13.59 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.0001487/0.1671, allocations: 109.7 kB / 0.8542 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.1676, allocations: 213 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1676, allocations: 0 / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.1678, allocations: 65.45 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1681, allocations: 43.91 kB / 0.8545 GB, free: 13.15 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.1689, allocations: 324.2 kB / 0.8548 GB, free: 12.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.169, allocations: 97.55 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.586e-05/0.1691, allocations: 20.7 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.1692, allocations: 23.42 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of SimCode: time 4.2e-07/0.1692, allocations: 4.625 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of Templates: time 0.2818/0.451, allocations: 2.623 MB / 0.8575 GB, free: 27.99 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4483701339922845]