Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.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.001943/0.001943, 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.002191/0.002191, allocations: 219.6 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.641/1.641, 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.408/1.408, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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_Kathren2003_ankle,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle") [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.01025/0.01025, allocations: 73.84 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1663, allocations: 73.99 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle): time 0.003494/0.1698, allocations: 1.819 MB / 0.849 GB, free: 3.09 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1711, allocations: 0.5455 MB / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.1711, allocations: 0.7188 kB / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.981e-05/0.1712, allocations: 11.86 kB / 0.8495 GB, free: 2.531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1716, allocations: 69.02 kB / 0.8496 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1718, allocations: 69.73 kB / 0.8497 GB, free: 2.402 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1721, allocations: 159.3 kB / 0.8498 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1721, allocations: 6.094 kB / 0.8498 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1722, allocations: 75.69 kB / 0.8499 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1725, allocations: 84.25 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.1725, allocations: 8.719 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.1726, allocations: 4.656 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.1727, allocations: 39.83 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.1727, allocations: 44.59 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1729, allocations: 95.58 kB / 0.8502 GB, free: 1.898 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1729, allocations: 0.625 kB / 0.8502 GB, free: 1.898 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1729, allocations: 0 / 0.8502 GB, free: 1.898 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1729, allocations: 0.5938 kB / 0.8502 GB, free: 1.898 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.0009141/0.1738, allocations: 393.4 kB / 0.8505 GB, free: 1.48 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1739, allocations: 15.89 kB / 0.8506 GB, free: 1.465 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.1739, allocations: 13.94 kB / 0.8506 GB, free: 1.453 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1742, allocations: 154.8 kB / 0.8507 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1742, allocations: 4.375 kB / 0.8507 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.1743, allocations: 13.81 kB / 0.8507 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.1746, allocations: 101.6 kB / 0.8508 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1746, allocations: 0 / 0.8508 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1746, allocations: 4 kB / 0.8508 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1746, allocations: 0.7812 kB / 0.8508 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1749, allocations: 82.41 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.1754, allocations: 284.3 kB / 0.8512 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.1759, allocations: 134.4 kB / 0.8513 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1761, allocations: 54.66 kB / 0.8514 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1761, allocations: 4 kB / 0.8514 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.1764, allocations: 111.3 kB / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1764, allocations: 0 / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006289/0.177, allocations: 202.9 kB / 0.8517 GB, free: 248 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003266/0.1773, allocations: 52.09 kB / 0.8517 GB, free: 184 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1775, allocations: 162.7 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.1776, allocations: 33.64 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.1777, allocations: 108.1 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.1777, allocations: 39.64 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.1778, allocations: 42.3 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.178, allocations: 327.3 kB / 0.8524 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.1782, allocations: 78.19 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.1785, allocations: 205.1 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1789, allocations: 143.7 kB / 0.8528 GB, free: 14.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1789, allocations: 0 / 0.8528 GB, free: 14.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005152/0.1794, allocations: 244.5 kB / 0.853 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.1794, allocations: 29.7 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1794, allocations: 4.719 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1795, allocations: 0 / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1796, allocations: 28.59 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1796, allocations: 0.5 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1798, allocations: 28.47 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1798, allocations: 4.562 kB / 0.8531 GB, free: 14.64 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.0001359/0.18, allocations: 126.3 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.18, allocations: 12.58 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.1805, allocations: 174.6 kB / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1805, allocations: 4.562 kB / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1805, allocations: 12.36 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1805, allocations: 0 / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1807, allocations: 153.9 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1807, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1809, allocations: 28.61 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1809, allocations: 1.75 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1809, allocations: 3.984 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1809, allocations: 4 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1809, allocations: 0 / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.1815, allocations: 255.4 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1816, allocations: 15.91 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1816, allocations: 0 / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1817, allocations: 15.98 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.1818, allocations: 17 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1818, allocations: 4 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1819, allocations: 119.2 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1819, allocations: 0.5625 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002301/0.1822, allocations: 32 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.0001384/0.1823, allocations: 97 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.1828, allocations: 222.2 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1828, allocations: 0 / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.183, allocations: 64.42 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1833, allocations: 48.28 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.0008129/0.1841, allocations: 322.8 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.1843, allocations: 99.28 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1844, allocations: 23.86 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1844, allocations: 20 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.1844, allocations: 0.6562 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of Templates: time 0.2443/0.4288, allocations: 2.626 MB / 0.8575 GB, free: 28.23 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.260034533916041]