Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_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.001074/0.001074, allocations: 104.4 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.001095/0.001095, allocations: 215.5 kB / 23 MB, free: 2.941 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.16/1.16, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.8093/0.8093, allocations: 312.3 MB / 0.6109 GB, free: 97.85 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.MercuricChloride.MercuricChloride_Sundberg1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_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.001961/0.001961, allocations: 75.34 kB / 0.7699 GB, free: 20.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 73.99 MB / 0.8422 GB, free: 10.44 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference): time 0.002718/0.1648, allocations: 1.813 MB / 0.8439 GB, free: 8.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.1658, allocations: 0.5339 MB / 0.8445 GB, free: 8.09 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.1658, allocations: 4.594 kB / 0.8445 GB, free: 8.086 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.166, allocations: 11.86 kB / 0.8445 GB, free: 8.074 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.1665, allocations: 76.91 kB / 0.8445 GB, free: 8 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1667, allocations: 61.62 kB / 0.8446 GB, free: 7.945 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.167, allocations: 167.8 kB / 0.8448 GB, free: 7.781 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.672e-05/0.167, allocations: 5.938 kB / 0.8448 GB, free: 7.777 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1672, allocations: 75.69 kB / 0.8448 GB, free: 7.703 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.1675, allocations: 84.09 kB / 0.8449 GB, free: 7.621 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1675, allocations: 8.5 kB / 0.8449 GB, free: 7.613 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.1675, allocations: 8.5 kB / 0.8449 GB, free: 7.605 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.1676, allocations: 32.48 kB / 0.845 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.1677, allocations: 47.78 kB / 0.845 GB, free: 7.527 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1679, allocations: 96.33 kB / 0.8451 GB, free: 7.434 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1679, allocations: 0 / 0.8451 GB, free: 7.434 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1679, allocations: 4.531 kB / 0.8451 GB, free: 7.43 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1679, allocations: 0 / 0.8451 GB, free: 7.43 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.0008672/0.1688, allocations: 389.4 kB / 0.8455 GB, free: 7.016 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.1688, allocations: 8.625 kB / 0.8455 GB, free: 7.008 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.1689, allocations: 16.84 kB / 0.8455 GB, free: 6.992 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1692, allocations: 151.5 kB / 0.8457 GB, free: 6.82 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1692, allocations: 8.938 kB / 0.8457 GB, free: 6.812 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.1692, allocations: 12.12 kB / 0.8457 GB, free: 6.801 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1695, allocations: 98.69 kB / 0.8458 GB, free: 6.699 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1695, allocations: 0 / 0.8458 GB, free: 6.699 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1695, allocations: 4.672 kB / 0.8458 GB, free: 6.695 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1695, allocations: 0 / 0.8458 GB, free: 6.695 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1697, allocations: 85 kB / 0.8459 GB, free: 6.613 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.1702, allocations: 292.9 kB / 0.8461 GB, free: 6.297 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1704, allocations: 123.1 kB / 0.8463 GB, free: 6.168 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.1705, allocations: 57.94 kB / 0.8463 GB, free: 6.109 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1705, allocations: 0 / 0.8463 GB, free: 6.109 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1707, allocations: 112.5 kB / 0.8464 GB, free: 5.988 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1707, allocations: 3.938 kB / 0.8464 GB, free: 5.984 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003815/0.1711, allocations: 195.7 kB / 0.8466 GB, free: 5.789 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1712, allocations: 59.41 kB / 0.8467 GB, free: 5.719 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1713, allocations: 157.5 kB / 0.8468 GB, free: 5.559 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1713, allocations: 26.23 kB / 0.8468 GB, free: 5.527 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.1714, allocations: 108.7 kB / 0.8469 GB, free: 5.418 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1714, allocations: 51.62 kB / 0.847 GB, free: 5.367 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.1714, allocations: 34.3 kB / 0.847 GB, free: 5.328 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1715, allocations: 331.3 kB / 0.8473 GB, free: 4.996 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1717, allocations: 82.28 kB / 0.8474 GB, free: 4.91 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1718, allocations: 198.7 kB / 0.8476 GB, free: 4.68 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.172, allocations: 150 kB / 0.8477 GB, free: 4.527 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.172, allocations: 4 kB / 0.8478 GB, free: 4.523 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002759/0.1723, allocations: 234 kB / 0.848 GB, free: 4.277 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.1723, allocations: 38.25 kB / 0.848 GB, free: 4.234 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1723, allocations: 0 / 0.848 GB, free: 4.234 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1724, allocations: 4.562 kB / 0.848 GB, free: 4.23 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1725, allocations: 32.64 kB / 0.848 GB, free: 4.199 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1725, allocations: 4 kB / 0.8481 GB, free: 4.195 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.1726, allocations: 20.59 kB / 0.8481 GB, free: 4.176 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1726, allocations: 12.58 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 8.883e-05/0.1727, allocations: 126.4 kB / 0.8482 GB, free: 4.031 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1727, allocations: 8.672 kB / 0.8482 GB, free: 4.023 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.173, allocations: 178.3 kB / 0.8484 GB, free: 3.848 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.173, allocations: 0.9375 kB / 0.8484 GB, free: 3.848 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.173, allocations: 0 / 0.8484 GB, free: 3.848 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.173, allocations: 8.656 kB / 0.8484 GB, free: 3.84 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1731, allocations: 149.2 kB / 0.8485 GB, free: 3.664 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1731, allocations: 0.5 kB / 0.8485 GB, free: 3.664 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.1732, allocations: 24.59 kB / 0.8486 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1732, allocations: 0.6875 kB / 0.8486 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1732, allocations: 4 kB / 0.8486 GB, free: 3.637 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1732, allocations: 0.625 kB / 0.8486 GB, free: 3.637 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1732, allocations: 0 / 0.8486 GB, free: 3.637 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.1736, allocations: 258.4 kB / 0.8488 GB, free: 3.367 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.1736, allocations: 11.92 kB / 0.8488 GB, free: 3.355 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1736, allocations: 8.625 kB / 0.8488 GB, free: 3.348 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.1737, allocations: 8.766 kB / 0.8488 GB, free: 3.34 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.1738, allocations: 19.97 kB / 0.8489 GB, free: 3.32 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1738, allocations: 4.656 kB / 0.8489 GB, free: 3.316 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.1739, allocations: 115.9 kB / 0.849 GB, free: 3.203 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1739, allocations: 0 / 0.849 GB, free: 3.203 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001457/0.174, allocations: 32.66 kB / 0.849 GB, free: 3.172 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.0001535/0.1742, allocations: 107.8 kB / 0.8491 GB, free: 3.059 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.1745, allocations: 212.7 kB / 0.8493 GB, free: 2.836 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1745, allocations: 0.625 kB / 0.8493 GB, free: 2.836 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1746, allocations: 68.59 kB / 0.8494 GB, free: 2.77 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.1749, allocations: 50.91 kB / 0.8494 GB, free: 2.723 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.1756, allocations: 355.8 kB / 0.8498 GB, free: 2.344 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.1757, allocations: 99.42 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.1757, allocations: 24.02 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of SimCode: time 5.51e-07/0.1757, allocations: 0 / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of Templates: time 0.003545/0.1793, allocations: 2.045 MB / 0.8519 GB, free: 268 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.32315113954246]