Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_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.002372/0.002372, 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.002064/0.002064, 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.671/1.671, allocations: 230.6 MB / 256 MB, free: 9.598 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.46/1.46, allocations: 316.7 MB / 0.6144 GB, free: 93.37 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.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_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.003765/0.003765, allocations: 73.98 kB / 0.775 GB, free: 14.89 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1632, allocations: 73.99 MB / 0.8472 GB, free: 5.039 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference): time 0.003452/0.1667, allocations: 1.819 MB / 0.849 GB, free: 3.223 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1678, allocations: 0.5332 MB / 0.8495 GB, free: 2.688 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.1679, allocations: 6.062 kB / 0.8495 GB, free: 2.684 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.168, allocations: 15.84 kB / 0.8495 GB, free: 2.668 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1683, allocations: 67.55 kB / 0.8496 GB, free: 2.602 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1685, allocations: 58.25 kB / 0.8497 GB, free: 2.547 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1688, allocations: 163.3 kB / 0.8498 GB, free: 2.387 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1688, allocations: 5.906 kB / 0.8498 GB, free: 2.383 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1689, allocations: 76.28 kB / 0.8499 GB, free: 2.309 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.1692, allocations: 80.38 kB / 0.85 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1692, allocations: 8 kB / 0.85 GB, free: 2.223 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-05/0.1693, allocations: 12.59 kB / 0.85 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.1693, allocations: 31.89 kB / 0.85 GB, free: 2.18 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.1694, allocations: 48.28 kB / 0.8501 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1696, allocations: 96.19 kB / 0.8502 GB, free: 2.039 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1696, allocations: 0 / 0.8502 GB, free: 2.039 MB / 474.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1696, allocations: 0.5938 kB / 0.8502 GB, free: 2.039 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1696, allocations: 0 / 0.8502 GB, free: 2.039 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.0008742/0.1705, allocations: 397.2 kB / 0.8505 GB, free: 1.617 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1705, allocations: 8.594 kB / 0.8505 GB, free: 1.609 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.1706, allocations: 17.56 kB / 0.8506 GB, free: 1.594 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1708, allocations: 162.7 kB / 0.8507 GB, free: 1.41 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1708, allocations: 5.125 kB / 0.8507 GB, free: 1.406 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.1709, allocations: 12.12 kB / 0.8507 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.1712, allocations: 101.8 kB / 0.8508 GB, free: 1.293 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1712, allocations: 0.625 kB / 0.8508 GB, free: 1.293 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1712, allocations: 4.688 kB / 0.8508 GB, free: 1.289 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1712, allocations: 0 / 0.8508 GB, free: 1.289 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.1715, allocations: 82.34 kB / 0.8509 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.172, allocations: 280.3 kB / 0.8512 GB, free: 0.9062 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.1724, allocations: 134.4 kB / 0.8513 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.1726, allocations: 55.09 kB / 0.8514 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1726, allocations: 0 / 0.8514 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.1729, allocations: 115.3 kB / 0.8515 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1729, allocations: 0 / 0.8515 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006316/0.1736, allocations: 202.9 kB / 0.8517 GB, free: 392 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1736, allocations: 56.38 kB / 0.8517 GB, free: 324 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1738, allocations: 150.5 kB / 0.8519 GB, free: 164 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.1738, allocations: 33.7 kB / 0.8519 GB, free: 124 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.1739, allocations: 109.2 kB / 0.852 GB, free: 12 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.174, allocations: 43.83 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.1741, allocations: 38.7 kB / 0.8521 GB, free: 15.92 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1743, allocations: 326.6 kB / 0.8524 GB, free: 15.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.1745, allocations: 82.16 kB / 0.8525 GB, free: 15.51 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.1748, allocations: 203.8 kB / 0.8527 GB, free: 15.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.1751, allocations: 144 kB / 0.8528 GB, free: 15.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1751, allocations: 4 kB / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005/0.1756, allocations: 236.5 kB / 0.853 GB, free: 14.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.1757, allocations: 35.02 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1757, allocations: 0 / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1757, allocations: 7.922 kB / 0.8531 GB, free: 14.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1759, allocations: 24.58 kB / 0.8531 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1759, allocations: 7.938 kB / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.1761, allocations: 24.59 kB / 0.8531 GB, free: 14.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1761, allocations: 4.625 kB / 0.8531 GB, free: 14.77 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.0001545/0.1762, allocations: 130.5 kB / 0.8532 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.1763, allocations: 8.547 kB / 0.8533 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.1768, allocations: 174.9 kB / 0.8534 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1768, allocations: 0.5938 kB / 0.8534 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1768, allocations: 0.5 kB / 0.8534 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1768, allocations: 3.938 kB / 0.8534 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.1771, allocations: 153.7 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1771, allocations: 0.625 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.1773, allocations: 32.69 kB / 0.8536 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1773, allocations: 0 / 0.8536 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1773, allocations: 4.688 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1773, allocations: 0 / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1773, allocations: 0.5 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.178, allocations: 253 kB / 0.8539 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.178, allocations: 20.48 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.1781, allocations: 4 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1782, allocations: 12.58 kB / 0.8539 GB, free: 13.94 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.1783, allocations: 16.62 kB / 0.8539 GB, free: 13.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1783, allocations: 4 kB / 0.8539 GB, free: 13.92 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1784, allocations: 122.4 kB / 0.854 GB, free: 13.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1784, allocations: 0.6562 kB / 0.854 GB, free: 13.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002179/0.1786, allocations: 32 kB / 0.8541 GB, free: 13.77 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.000169/0.1788, allocations: 104.8 kB / 0.8542 GB, free: 13.66 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.1793, allocations: 217.7 kB / 0.8544 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1793, allocations: 4.594 kB / 0.8544 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.1795, allocations: 60.61 kB / 0.8544 GB, free: 13.37 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1798, allocations: 37.58 kB / 0.8545 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.1806, allocations: 334.6 kB / 0.8548 GB, free: 12.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.1807, allocations: 103.2 kB / 0.8549 GB, free: 12.86 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.453e-05/0.1808, allocations: 24.42 kB / 0.8549 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.1809, allocations: 19.42 kB / 0.8549 GB, free: 12.82 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.1809, allocations: 0.5 kB / 0.8549 GB, free: 12.82 MB / 490.8 MB Notification: Performance of Templates: time 0.3463/0.5272, allocations: 2.626 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.592106889933348]