Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.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.002408/0.002408, 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.002798/0.002798, 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.709/1.709, 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.455/1.455, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.Plutonium.Plutonium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium") [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.004056/0.004056, allocations: 77.73 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1637, allocations: 73.99 MB / 0.8473 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium): time 0.004352/0.1681, allocations: 1.826 MB / 0.849 GB, free: 3.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1696, allocations: 0.5459 MB / 0.8496 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.1697, allocations: 4.594 kB / 0.8496 GB, free: 2.457 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.1698, allocations: 11.86 kB / 0.8496 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.1702, allocations: 60.86 kB / 0.8497 GB, free: 2.387 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1705, allocations: 66.14 kB / 0.8497 GB, free: 2.324 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1708, allocations: 164 kB / 0.8499 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.1709, allocations: 9.297 kB / 0.8499 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.171, allocations: 72.2 kB / 0.8499 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1714, allocations: 80.2 kB / 0.85 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.1714, allocations: 8.688 kB / 0.85 GB, free: 2 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.402e-05/0.1715, allocations: 8 kB / 0.85 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.1715, allocations: 36.36 kB / 0.8501 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1717, allocations: 48.39 kB / 0.8501 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1719, allocations: 91.58 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1719, allocations: 0.625 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1719, allocations: 4 kB / 0.8502 GB, free: 1.816 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1719, allocations: 4.578 kB / 0.8502 GB, free: 1.812 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.001095/0.173, allocations: 389.2 kB / 0.8506 GB, free: 1.398 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.173, allocations: 8.562 kB / 0.8506 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.1731, allocations: 16.84 kB / 0.8506 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1734, allocations: 151.5 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1734, allocations: 8.375 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.1735, allocations: 16.75 kB / 0.8508 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.1739, allocations: 102.3 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1739, allocations: 0.8125 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1739, allocations: 0 / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1739, allocations: 0.625 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.1743, allocations: 84.61 kB / 0.851 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.175, allocations: 281 kB / 0.8512 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/0.1756, allocations: 143 kB / 0.8514 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.1758, allocations: 57.59 kB / 0.8514 GB, free: 492 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1758, allocations: 0.5312 kB / 0.8514 GB, free: 492 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/0.1763, allocations: 111.8 kB / 0.8515 GB, free: 372 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.1763, allocations: 1.281 kB / 0.8515 GB, free: 372 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008873/0.1771, allocations: 202.7 kB / 0.8517 GB, free: 164 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1772, allocations: 59.39 kB / 0.8518 GB, free: 92 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1775, allocations: 157.5 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.1775, allocations: 31.36 kB / 0.852 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1776, allocations: 100.1 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.1777, allocations: 47.64 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1778, allocations: 37.69 kB / 0.8521 GB, free: 15.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.1781, allocations: 331.6 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.1783, allocations: 81.66 kB / 0.8525 GB, free: 15.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.1787, allocations: 206.9 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.1794, allocations: 142.4 kB / 0.8529 GB, free: 14.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1794, allocations: 0 / 0.8529 GB, free: 14.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006866/0.1801, allocations: 241.3 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.1802, allocations: 37.7 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1802, allocations: 0 / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1802, allocations: 0 / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1804, allocations: 25.27 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.1805, allocations: 7.938 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1807, allocations: 24.56 kB / 0.8532 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.1807, allocations: 7.984 kB / 0.8532 GB, free: 14.55 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.0001531/0.1809, allocations: 123 kB / 0.8533 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1809, allocations: 7.953 kB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.1816, allocations: 179.4 kB / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1816, allocations: 0 / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1816, allocations: 0.6562 kB / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1816, allocations: 4.844 kB / 0.8535 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1818, allocations: 153.2 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1818, allocations: 4.562 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.1821, allocations: 20.61 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1821, allocations: 0 / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.1821, allocations: 8.562 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1821, allocations: 0 / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1821, allocations: 0.5625 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.183, allocations: 258 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.183, allocations: 16.61 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1831, allocations: 4 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.1833, allocations: 8.578 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.1834, allocations: 20.69 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1834, allocations: 4 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1836, allocations: 122.6 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1836, allocations: 0 / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003741/0.1839, allocations: 32.62 kB / 0.8541 GB, free: 13.55 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.0001787/0.1841, allocations: 100.3 kB / 0.8542 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.1848, allocations: 218.1 kB / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1848, allocations: 0 / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.1851, allocations: 60.52 kB / 0.8545 GB, free: 13.15 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1855, allocations: 53.22 kB / 0.8545 GB, free: 13.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1866, allocations: 327.2 kB / 0.8548 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.1867, allocations: 100.1 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.1869, allocations: 26.47 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.187, allocations: 16 kB / 0.855 GB, free: 12.61 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.187, allocations: 0.9688 kB / 0.855 GB, free: 12.61 MB / 490.8 MB Notification: Performance of Templates: time 0.3862/0.5732, allocations: 2.619 MB / 0.8575 GB, free: 28.12 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium.Plutonium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.66332634515129]