Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.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.002081/0.002081, 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.002445/0.002445, 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.731/1.731, allocations: 230.6 MB / 256 MB, free: 9.602 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.47/1.47, 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.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1") [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.003935/0.003935, allocations: 77.69 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1551, allocations: 73.99 MB / 0.8473 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1): time 0.003612/0.1588, allocations: 1.824 MB / 0.849 GB, free: 3.062 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.16, allocations: 0.5419 MB / 0.8496 GB, free: 2.52 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.1601, allocations: 0 / 0.8496 GB, free: 2.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.1602, allocations: 16.45 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.1606, allocations: 68.84 kB / 0.8497 GB, free: 2.438 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1608, allocations: 69.58 kB / 0.8497 GB, free: 2.375 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.161, allocations: 157.8 kB / 0.8499 GB, free: 2.223 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.1611, allocations: 5.312 kB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1612, allocations: 79.69 kB / 0.8499 GB, free: 2.141 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.1615, allocations: 79.72 kB / 0.85 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.1615, allocations: 8 kB / 0.85 GB, free: 2.055 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.1616, allocations: 8 kB / 0.85 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1616, allocations: 36.5 kB / 0.8501 GB, free: 2.012 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.1617, allocations: 51.77 kB / 0.8501 GB, free: 1.961 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1619, allocations: 92.67 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1619, allocations: 0 / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1619, allocations: 0 / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1619, allocations: 0.5625 kB / 0.8502 GB, free: 1.871 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.0009253/0.1628, allocations: 396.7 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1629, allocations: 8.531 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.1629, allocations: 17.56 kB / 0.8506 GB, free: 1.426 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1632, allocations: 154.8 kB / 0.8508 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1632, allocations: 9.031 kB / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1633, allocations: 8.125 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.1636, allocations: 98.34 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1636, allocations: 4.438 kB / 0.8509 GB, free: 1.129 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1636, allocations: 4.625 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1636, allocations: 0 / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1639, allocations: 80.97 kB / 0.851 GB, free: 1.047 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.1645, allocations: 281 kB / 0.8512 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.1649, allocations: 131.5 kB / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1651, allocations: 57.5 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1651, allocations: 2.312 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.1655, allocations: 115.3 kB / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.1655, allocations: 0 / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006569/0.1661, allocations: 198.1 kB / 0.8517 GB, free: 228 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.1662, allocations: 52.03 kB / 0.8518 GB, free: 164 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.1664, allocations: 162.5 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1665, allocations: 30.33 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.1666, allocations: 106 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1666, allocations: 43.62 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.1667, allocations: 41.7 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1669, allocations: 326.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1671, allocations: 81.66 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1674, allocations: 204.8 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.1679, allocations: 144.4 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1679, allocations: 0 / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005045/0.1684, allocations: 240.5 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.1685, allocations: 37.69 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1685, allocations: 0 / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1685, allocations: 0.6562 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1687, allocations: 24.67 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.1687, allocations: 3.938 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1689, allocations: 34.09 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1689, allocations: 4 kB / 0.8532 GB, free: 14.61 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.0001378/0.169, allocations: 129.7 kB / 0.8533 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.169, allocations: 15.98 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.1695, allocations: 179.8 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1695, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1695, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1695, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1697, allocations: 157.8 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1697, allocations: 0 / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1699, allocations: 28.53 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1699, allocations: 0.625 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1699, allocations: 0.7188 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1699, allocations: 4 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1699, allocations: 0.6875 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.1706, allocations: 257.9 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1706, allocations: 11.92 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1706, allocations: 4.594 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1708, allocations: 12.64 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.1708, allocations: 16.56 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1708, allocations: 4 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001302/0.171, allocations: 122.5 kB / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.171, allocations: 0.5938 kB / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002386/0.1712, allocations: 32 kB / 0.8541 GB, free: 13.6 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.0001759/0.1714, allocations: 104.5 kB / 0.8542 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.1719, allocations: 209.7 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1719, allocations: 4.75 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.1721, allocations: 64.64 kB / 0.8545 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1724, allocations: 49.64 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.1733, allocations: 324.8 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1734, allocations: 103.2 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.1735, allocations: 20.27 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1736, allocations: 20.2 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.1736, allocations: 0 / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.311/0.4846, allocations: 2.635 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.649562462931499]