Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.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.001245/0.001245, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001432/0.001432, allocations: 216.4 kB / 23 MB, free: 2.949 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.026/1.026, allocations: 230.7 MB / 256.8 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7682/0.7682, allocations: 312.3 MB / 0.6109 GB, free: 97.76 MB / 410.7 MB " [Timeout remaining time 179] 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.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") [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.001737/0.001737, allocations: 74.61 kB / 0.7699 GB, free: 20.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1625, allocations: 74 MB / 0.8422 GB, free: 10.45 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide): time 0.002749/0.1653, allocations: 1.826 MB / 0.844 GB, free: 8.621 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1663, allocations: 0.5461 MB / 0.8445 GB, free: 8.074 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.1663, allocations: 0 / 0.8445 GB, free: 8.074 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1665, allocations: 20.44 kB / 0.8445 GB, free: 8.055 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.1669, allocations: 64.59 kB / 0.8446 GB, free: 7.992 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.1671, allocations: 62.12 kB / 0.8447 GB, free: 7.938 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1674, allocations: 167.3 kB / 0.8448 GB, free: 7.773 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.1674, allocations: 5.906 kB / 0.8448 GB, free: 7.77 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1675, allocations: 72.38 kB / 0.8449 GB, free: 7.699 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.1678, allocations: 83.66 kB / 0.845 GB, free: 7.617 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1678, allocations: 4.562 kB / 0.845 GB, free: 7.613 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.229e-05/0.1678, allocations: 8.688 kB / 0.845 GB, free: 7.605 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.1679, allocations: 31.91 kB / 0.845 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.168, allocations: 56.33 kB / 0.8451 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1681, allocations: 96.08 kB / 0.8452 GB, free: 7.426 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1681, allocations: 0 / 0.8452 GB, free: 7.426 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1681, allocations: 0.5312 kB / 0.8452 GB, free: 7.426 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1681, allocations: 0.625 kB / 0.8452 GB, free: 7.426 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.0007152/0.1689, allocations: 392.6 kB / 0.8455 GB, free: 7.008 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.1689, allocations: 12.39 kB / 0.8455 GB, free: 6.996 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.169, allocations: 25.44 kB / 0.8456 GB, free: 6.973 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1692, allocations: 150.9 kB / 0.8457 GB, free: 6.801 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1692, allocations: 8.875 kB / 0.8457 GB, free: 6.793 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1692, allocations: 12.75 kB / 0.8457 GB, free: 6.781 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1694, allocations: 98.28 kB / 0.8458 GB, free: 6.68 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1694, allocations: 0 / 0.8458 GB, free: 6.68 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1694, allocations: 0.5625 kB / 0.8458 GB, free: 6.68 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1694, allocations: 4.5 kB / 0.8458 GB, free: 6.676 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1696, allocations: 88.41 kB / 0.8459 GB, free: 6.59 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.1701, allocations: 277 kB / 0.8462 GB, free: 6.289 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1703, allocations: 131.8 kB / 0.8463 GB, free: 6.152 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.816e-05/0.1704, allocations: 49.31 kB / 0.8464 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1704, allocations: 0.5312 kB / 0.8464 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1706, allocations: 115.9 kB / 0.8465 GB, free: 5.977 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.1706, allocations: 0.5938 kB / 0.8465 GB, free: 5.977 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003846/0.171, allocations: 194.8 kB / 0.8467 GB, free: 5.781 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1711, allocations: 60 kB / 0.8467 GB, free: 5.711 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1712, allocations: 158 kB / 0.8469 GB, free: 5.551 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1712, allocations: 29.7 kB / 0.8469 GB, free: 5.516 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1713, allocations: 108.6 kB / 0.847 GB, free: 5.406 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.1713, allocations: 47.64 kB / 0.847 GB, free: 5.359 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.1714, allocations: 34.2 kB / 0.8471 GB, free: 5.32 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.1715, allocations: 331.4 kB / 0.8474 GB, free: 4.988 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1716, allocations: 86.22 kB / 0.8475 GB, free: 4.898 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1717, allocations: 201.1 kB / 0.8477 GB, free: 4.668 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1719, allocations: 143.4 kB / 0.8478 GB, free: 4.52 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1719, allocations: 0.6562 kB / 0.8478 GB, free: 4.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002773/0.1722, allocations: 244.1 kB / 0.848 GB, free: 4.266 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.1723, allocations: 30.42 kB / 0.8481 GB, free: 4.23 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1723, allocations: 0 / 0.8481 GB, free: 4.23 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1723, allocations: 4.516 kB / 0.8481 GB, free: 4.227 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1724, allocations: 36.42 kB / 0.8481 GB, free: 4.191 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1724, allocations: 0.625 kB / 0.8481 GB, free: 4.191 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-05/0.1725, allocations: 20.38 kB / 0.8481 GB, free: 4.172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1725, allocations: 8.5 kB / 0.8481 GB, free: 4.164 MB / 474.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 9.066e-05/0.1726, allocations: 126.3 kB / 0.8482 GB, free: 4.031 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1726, allocations: 8.609 kB / 0.8483 GB, free: 4.023 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.173, allocations: 178.4 kB / 0.8484 GB, free: 3.848 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.173, allocations: 4.594 kB / 0.8484 GB, free: 3.844 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.173, allocations: 8.578 kB / 0.8484 GB, free: 3.836 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.173, allocations: 3.984 kB / 0.8484 GB, free: 3.832 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1732, allocations: 153.8 kB / 0.8486 GB, free: 3.652 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1732, allocations: 0 / 0.8486 GB, free: 3.652 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1733, allocations: 24.59 kB / 0.8486 GB, free: 3.629 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1733, allocations: 4.594 kB / 0.8486 GB, free: 3.625 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1733, allocations: 4.625 kB / 0.8486 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1733, allocations: 0 / 0.8486 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1733, allocations: 0.5938 kB / 0.8486 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1736, allocations: 254 kB / 0.8489 GB, free: 3.355 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.1737, allocations: 20.5 kB / 0.8489 GB, free: 3.336 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1737, allocations: 4 kB / 0.8489 GB, free: 3.332 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.1738, allocations: 12.48 kB / 0.8489 GB, free: 3.32 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.1738, allocations: 16.69 kB / 0.8489 GB, free: 3.305 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1738, allocations: 4 kB / 0.8489 GB, free: 3.301 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.752e-05/0.1739, allocations: 119.9 kB / 0.849 GB, free: 3.184 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1739, allocations: 0.5 kB / 0.849 GB, free: 3.184 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001448/0.174, allocations: 32 kB / 0.8491 GB, free: 3.152 MB / 474.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.000124/0.1742, allocations: 104.3 kB / 0.8492 GB, free: 3.043 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1745, allocations: 210.3 kB / 0.8494 GB, free: 2.82 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.1745, allocations: 4 kB / 0.8494 GB, free: 2.816 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.1746, allocations: 61.27 kB / 0.8494 GB, free: 2.758 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1748, allocations: 41.19 kB / 0.8495 GB, free: 2.719 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.1754, allocations: 360.7 kB / 0.8498 GB, free: 2.336 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.1755, allocations: 98.83 kB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.1756, allocations: 15.97 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of SimCode: time 7.21e-07/0.1756, allocations: 0.5 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of Templates: time 0.003135/0.1787, allocations: 2.052 MB / 0.8519 GB, free: 256 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.367580350488424]