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.001884/0.001884, allocations: 105.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.002031/0.002031, allocations: 218.4 kB / 22.25 MB, free: 3.574 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.647/1.647, 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.506/1.506, allocations: 316.7 MB / 0.6144 GB, free: 93.13 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.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.004415/0.004415, allocations: 78 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1585, allocations: 73.98 MB / 0.8472 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference): time 0.005575/0.1641, allocations: 1.811 MB / 0.849 GB, free: 3.152 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1656, allocations: 0.5457 MB / 0.8495 GB, free: 2.605 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.1657, allocations: 0 / 0.8495 GB, free: 2.605 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1659, allocations: 13.05 kB / 0.8496 GB, free: 2.594 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.1663, allocations: 68.12 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1666, allocations: 66.31 kB / 0.8497 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.167, allocations: 159.3 kB / 0.8498 GB, free: 2.309 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.167, allocations: 9.922 kB / 0.8499 GB, free: 2.301 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1672, allocations: 67.77 kB / 0.8499 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1676, allocations: 88.31 kB / 0.85 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.1676, allocations: 8.625 kB / 0.85 GB, free: 2.141 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.1677, allocations: 4 kB / 0.85 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.1678, allocations: 32.41 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1679, allocations: 48.39 kB / 0.8501 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1681, allocations: 99.56 kB / 0.8502 GB, free: 1.961 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1681, allocations: 0.625 kB / 0.8502 GB, free: 1.961 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1681, allocations: 0.625 kB / 0.8502 GB, free: 1.961 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1681, allocations: 3.938 kB / 0.8502 GB, free: 1.957 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.001102/0.1692, allocations: 393.3 kB / 0.8506 GB, free: 1.539 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1693, allocations: 12.62 kB / 0.8506 GB, free: 1.527 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.1694, allocations: 12.84 kB / 0.8506 GB, free: 1.516 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1697, allocations: 147.5 kB / 0.8507 GB, free: 1.348 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1697, allocations: 12.38 kB / 0.8507 GB, free: 1.336 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.1697, allocations: 16.66 kB / 0.8508 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.1701, allocations: 105 kB / 0.8509 GB, free: 1.215 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1701, allocations: 0.9688 kB / 0.8509 GB, free: 1.215 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1701, allocations: 0 / 0.8509 GB, free: 1.215 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.1702, allocations: 4 kB / 0.8509 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.1706, allocations: 80.83 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.1713, allocations: 281.5 kB / 0.8512 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.1719, allocations: 144.1 kB / 0.8513 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1721, allocations: 44.83 kB / 0.8514 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.1721, allocations: 7.984 kB / 0.8514 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.1725, allocations: 116.7 kB / 0.8515 GB, free: 0.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1725, allocations: 0 / 0.8515 GB, free: 0.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000851/0.1734, allocations: 202.7 kB / 0.8517 GB, free: 304 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.1734, allocations: 57.2 kB / 0.8518 GB, free: 236 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1737, allocations: 154.5 kB / 0.8519 GB, free: 72 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.1737, allocations: 29.7 kB / 0.8519 GB, free: 36 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1738, allocations: 104.1 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.1739, allocations: 43.64 kB / 0.8521 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.174, allocations: 38.36 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.1743, allocations: 334.8 kB / 0.8524 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1745, allocations: 80.12 kB / 0.8525 GB, free: 15.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.1749, allocations: 204.4 kB / 0.8527 GB, free: 15.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.1754, allocations: 134.5 kB / 0.8528 GB, free: 15.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1754, allocations: 0.5938 kB / 0.8528 GB, free: 15.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006919/0.1761, allocations: 244.1 kB / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.1762, allocations: 38.47 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1762, allocations: 0.5938 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1762, allocations: 7.938 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1764, allocations: 24.58 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1764, allocations: 0.5625 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1767, allocations: 20.44 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.1767, allocations: 12.61 kB / 0.8532 GB, free: 14.69 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.000165/0.1768, allocations: 126.3 kB / 0.8533 GB, free: 14.56 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1769, allocations: 11.89 kB / 0.8533 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/0.1775, allocations: 178.3 kB / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1775, allocations: 4 kB / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1775, allocations: 0.7188 kB / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1775, allocations: 0 / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.1778, allocations: 153.9 kB / 0.8536 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1778, allocations: 0 / 0.8536 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.178, allocations: 28.58 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.178, allocations: 0.5625 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.178, allocations: 4 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.178, allocations: 0.625 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.178, allocations: 4.5 kB / 0.8537 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.1789, allocations: 250 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.179, allocations: 12.48 kB / 0.8539 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.179, allocations: 8 kB / 0.8539 GB, free: 13.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.1792, allocations: 13.11 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.1793, allocations: 19.91 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1793, allocations: 4.531 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00016/0.1795, allocations: 122.5 kB / 0.8541 GB, free: 13.72 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1795, allocations: 0 / 0.8541 GB, free: 13.72 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003612/0.1798, allocations: 32.59 kB / 0.8541 GB, free: 13.69 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.000177/0.18, allocations: 108.5 kB / 0.8542 GB, free: 13.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.1807, allocations: 209.7 kB / 0.8544 GB, free: 13.35 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1807, allocations: 0.5312 kB / 0.8544 GB, free: 13.35 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.1809, allocations: 68.5 kB / 0.8545 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1814, allocations: 37.78 kB / 0.8545 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1826, allocations: 326.7 kB / 0.8548 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1827, allocations: 99.02 kB / 0.8549 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000144/0.1829, allocations: 32.28 kB / 0.8549 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.1829, allocations: 16.06 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.1829, allocations: 4.5 kB / 0.855 GB, free: 12.74 MB / 490.8 MB Notification: Performance of Templates: time 0.2976/0.4805, allocations: 2.629 MB / 0.8575 GB, free: 28.2 MB / 490.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_Sundberg1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2918453039601445]