Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_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.0009288/0.0009288, allocations: 104.3 kB / 19.71 MB, free: 440 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.001375/0.001375, allocations: 217.8 kB / 23.01 MB, free: 2.961 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.087/1.087, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.8213/0.8213, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_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.00226/0.00226, allocations: 81 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1685, allocations: 73.99 MB / 0.8422 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference): time 0.002796/0.1713, allocations: 1.808 MB / 0.8439 GB, free: 7.98 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1724, allocations: 0.5454 MB / 0.8445 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.1725, allocations: 0.5938 kB / 0.8445 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1726, allocations: 11.86 kB / 0.8445 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.1731, allocations: 69.3 kB / 0.8445 GB, free: 7.355 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1733, allocations: 68.55 kB / 0.8446 GB, free: 7.293 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.1735, allocations: 163.9 kB / 0.8448 GB, free: 7.133 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.1736, allocations: 5.906 kB / 0.8448 GB, free: 7.129 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1737, allocations: 71.7 kB / 0.8448 GB, free: 7.059 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.174, allocations: 88.23 kB / 0.8449 GB, free: 6.973 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.174, allocations: 8.5 kB / 0.8449 GB, free: 6.965 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.174, allocations: 4.594 kB / 0.8449 GB, free: 6.961 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1741, allocations: 35.89 kB / 0.845 GB, free: 6.926 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.1742, allocations: 44.41 kB / 0.845 GB, free: 6.883 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1743, allocations: 95.58 kB / 0.8451 GB, free: 6.789 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1744, allocations: 4.531 kB / 0.8451 GB, free: 6.785 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1744, allocations: 0.5938 kB / 0.8451 GB, free: 6.785 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1744, allocations: 0 / 0.8451 GB, free: 6.785 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.0007093/0.1751, allocations: 389.4 kB / 0.8455 GB, free: 6.371 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1751, allocations: 16.75 kB / 0.8455 GB, free: 6.355 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.1752, allocations: 12.84 kB / 0.8455 GB, free: 6.344 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1754, allocations: 155.4 kB / 0.8457 GB, free: 6.168 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1754, allocations: 4.375 kB / 0.8457 GB, free: 6.164 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1754, allocations: 12.97 kB / 0.8457 GB, free: 6.152 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1756, allocations: 106.1 kB / 0.8458 GB, free: 6.043 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1757, allocations: 4 kB / 0.8458 GB, free: 6.039 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1757, allocations: 4.562 kB / 0.8458 GB, free: 6.035 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1757, allocations: 4.5 kB / 0.8458 GB, free: 6.031 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1758, allocations: 80.39 kB / 0.8459 GB, free: 5.953 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1763, allocations: 281 kB / 0.8461 GB, free: 5.648 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1766, allocations: 131.8 kB / 0.8463 GB, free: 5.512 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.1767, allocations: 53.44 kB / 0.8463 GB, free: 5.457 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1767, allocations: 4.5 kB / 0.8463 GB, free: 5.453 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1769, allocations: 112 kB / 0.8464 GB, free: 5.332 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.1769, allocations: 0.625 kB / 0.8464 GB, free: 5.332 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003994/0.1773, allocations: 202 kB / 0.8466 GB, free: 5.133 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1773, allocations: 51.41 kB / 0.8467 GB, free: 5.07 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1775, allocations: 159 kB / 0.8468 GB, free: 4.906 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1775, allocations: 30.3 kB / 0.8468 GB, free: 4.871 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.1776, allocations: 108.6 kB / 0.8469 GB, free: 4.762 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1776, allocations: 47.58 kB / 0.847 GB, free: 4.715 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.1777, allocations: 38.27 kB / 0.847 GB, free: 4.672 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.1777, allocations: 331.3 kB / 0.8473 GB, free: 4.34 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1779, allocations: 82.31 kB / 0.8474 GB, free: 4.254 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.178, allocations: 198.7 kB / 0.8476 GB, free: 4.023 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.1782, allocations: 142.4 kB / 0.8477 GB, free: 3.879 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1783, allocations: 0 / 0.8477 GB, free: 3.879 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002895/0.1785, allocations: 241.9 kB / 0.848 GB, free: 3.625 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.1786, allocations: 30.33 kB / 0.848 GB, free: 3.59 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1786, allocations: 4 kB / 0.848 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1786, allocations: 0.625 kB / 0.848 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1787, allocations: 32.58 kB / 0.848 GB, free: 3.555 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1787, allocations: 4.203 kB / 0.848 GB, free: 3.551 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.1788, allocations: 20.59 kB / 0.8481 GB, free: 3.531 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1788, allocations: 8.625 kB / 0.8481 GB, free: 3.523 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 0.0001001/0.1789, allocations: 124.8 kB / 0.8482 GB, free: 3.395 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1789, allocations: 12.72 kB / 0.8482 GB, free: 3.383 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.1793, allocations: 174.8 kB / 0.8484 GB, free: 3.207 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1793, allocations: 4.781 kB / 0.8484 GB, free: 3.203 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1793, allocations: 0 / 0.8484 GB, free: 3.203 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1793, allocations: 6.609 kB / 0.8484 GB, free: 3.199 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1794, allocations: 157.1 kB / 0.8485 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1794, allocations: 0 / 0.8485 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1795, allocations: 23.98 kB / 0.8486 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1795, allocations: 0 / 0.8486 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1795, allocations: 3.938 kB / 0.8486 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1795, allocations: 7.984 kB / 0.8486 GB, free: 2.98 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1795, allocations: 0.7812 kB / 0.8486 GB, free: 2.98 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.1799, allocations: 253.8 kB / 0.8488 GB, free: 2.715 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.1799, allocations: 8.547 kB / 0.8488 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.18, allocations: 8.734 kB / 0.8488 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.18, allocations: 15.98 kB / 0.8488 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.1801, allocations: 12.58 kB / 0.8488 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1801, allocations: 8.922 kB / 0.8489 GB, free: 2.664 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.1802, allocations: 121.9 kB / 0.849 GB, free: 2.547 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1802, allocations: 0 / 0.849 GB, free: 2.547 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001603/0.1803, allocations: 33.41 kB / 0.849 GB, free: 2.516 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.0001285/0.1805, allocations: 111.2 kB / 0.8491 GB, free: 2.398 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1808, allocations: 206.1 kB / 0.8493 GB, free: 2.18 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1808, allocations: 5.969 kB / 0.8493 GB, free: 2.176 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1809, allocations: 63.89 kB / 0.8494 GB, free: 2.113 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1811, allocations: 49.3 kB / 0.8494 GB, free: 2.074 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.1818, allocations: 359.6 kB / 0.8498 GB, free: 1.691 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.1819, allocations: 98.44 kB / 0.8499 GB, free: 1.574 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.1819, allocations: 21.53 kB / 0.8499 GB, free: 1.559 MB / 474.8 MB Notification: Performance of SimCode: time 5.11e-07/0.1819, allocations: 0 / 0.8499 GB, free: 1.559 MB / 474.8 MB Notification: Performance of Templates: time 0.003691/0.1856, allocations: 2.054 MB / 0.8519 GB, free: 15.6 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.570226579904556]