Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_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.001248/0.001248, 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.001738/0.001738, allocations: 217.3 kB / 23 MB, free: 2.965 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 0.9037/0.9037, allocations: 230.7 MB / 256.8 MB, free: 9.598 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.6406/0.6406, allocations: 312.3 MB / 0.6108 GB, free: 97.16 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_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_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.001696/0.001696, allocations: 77.89 kB / 0.7699 GB, free: 19.63 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1373, allocations: 74 MB / 0.8422 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference): time 0.002442/0.1397, allocations: 1.81 MB / 0.8439 GB, free: 7.957 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006861/0.1466, allocations: 0.5416 MB / 0.8445 GB, free: 7.414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.1466, allocations: 4.562 kB / 0.8445 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.158e-05/0.1467, allocations: 11.92 kB / 0.8445 GB, free: 7.398 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1471, allocations: 69.2 kB / 0.8445 GB, free: 7.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.1472, allocations: 62.2 kB / 0.8446 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1474, allocations: 159.3 kB / 0.8447 GB, free: 7.117 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.1474, allocations: 9.922 kB / 0.8448 GB, free: 7.109 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.1475, allocations: 75.7 kB / 0.8448 GB, free: 7.035 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1477, allocations: 84.17 kB / 0.8449 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1478, allocations: 8.562 kB / 0.8449 GB, free: 6.945 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.1478, allocations: 8.719 kB / 0.8449 GB, free: 6.938 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1478, allocations: 35.89 kB / 0.845 GB, free: 6.902 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1479, allocations: 44.39 kB / 0.845 GB, free: 6.859 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.148, allocations: 94.45 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.148, allocations: 0.5625 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.148, allocations: 0.5312 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.148, allocations: 0 / 0.8451 GB, free: 6.77 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.0006422/0.1487, allocations: 397.4 kB / 0.8455 GB, free: 6.348 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1487, allocations: 8.031 kB / 0.8455 GB, free: 6.34 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.1488, allocations: 21.56 kB / 0.8455 GB, free: 6.32 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.149, allocations: 155.5 kB / 0.8456 GB, free: 6.145 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.149, allocations: 4.375 kB / 0.8457 GB, free: 6.141 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006026/0.155, allocations: 12.81 kB / 0.8457 GB, free: 6.129 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1552, allocations: 102.2 kB / 0.8458 GB, free: 6.023 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1552, allocations: 0 / 0.8458 GB, free: 6.023 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1552, allocations: 8.5 kB / 0.8458 GB, free: 6.016 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1552, allocations: 0.5 kB / 0.8458 GB, free: 6.016 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1554, allocations: 77.05 kB / 0.8458 GB, free: 5.941 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.1558, allocations: 276.3 kB / 0.8461 GB, free: 5.641 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1561, allocations: 139.6 kB / 0.8462 GB, free: 5.496 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1562, allocations: 49.42 kB / 0.8463 GB, free: 5.445 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1562, allocations: 4.609 kB / 0.8463 GB, free: 5.441 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.1564, allocations: 119.9 kB / 0.8464 GB, free: 5.312 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1564, allocations: 4.656 kB / 0.8464 GB, free: 5.309 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004096/0.1568, allocations: 194.9 kB / 0.8466 GB, free: 5.113 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1569, allocations: 55.89 kB / 0.8466 GB, free: 5.047 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.157, allocations: 157.1 kB / 0.8468 GB, free: 4.887 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.157, allocations: 34.23 kB / 0.8468 GB, free: 4.848 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1571, allocations: 104.6 kB / 0.8469 GB, free: 4.742 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1571, allocations: 44.17 kB / 0.847 GB, free: 4.699 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.1572, allocations: 41.7 kB / 0.847 GB, free: 4.652 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.1572, allocations: 331.3 kB / 0.8473 GB, free: 4.32 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1574, allocations: 82.22 kB / 0.8474 GB, free: 4.234 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1575, allocations: 202.6 kB / 0.8476 GB, free: 4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1578, allocations: 142.2 kB / 0.8477 GB, free: 3.855 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1578, allocations: 0.625 kB / 0.8477 GB, free: 3.855 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.006331/0.1641, allocations: 241.4 kB / 0.848 GB, free: 3.602 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.1641, allocations: 34.23 kB / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1641, allocations: 0.5938 kB / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1641, allocations: 0 / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1643, allocations: 28.58 kB / 0.848 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1643, allocations: 0.75 kB / 0.848 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1644, allocations: 24.66 kB / 0.8481 GB, free: 3.512 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1644, allocations: 11.92 kB / 0.8481 GB, free: 3.5 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 7.505e-05/0.1645, allocations: 118.5 kB / 0.8482 GB, free: 3.375 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.1645, allocations: 12.58 kB / 0.8482 GB, free: 3.363 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.1648, allocations: 182.6 kB / 0.8484 GB, free: 3.184 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1648, allocations: 0 / 0.8484 GB, free: 3.184 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1648, allocations: 0.625 kB / 0.8484 GB, free: 3.184 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1648, allocations: 4.75 kB / 0.8484 GB, free: 3.18 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1649, allocations: 157.1 kB / 0.8485 GB, free: 2.996 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1649, allocations: 0.7188 kB / 0.8485 GB, free: 2.996 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.165, allocations: 27.98 kB / 0.8485 GB, free: 2.969 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.165, allocations: 0.5938 kB / 0.8485 GB, free: 2.969 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.165, allocations: 0.5625 kB / 0.8485 GB, free: 2.969 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.165, allocations: 4 kB / 0.8485 GB, free: 2.965 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.165, allocations: 0.6875 kB / 0.8485 GB, free: 2.965 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1654, allocations: 260.7 kB / 0.8488 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.1655, allocations: 8.766 kB / 0.8488 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1655, allocations: 0 / 0.8488 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.1656, allocations: 16.61 kB / 0.8488 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.1656, allocations: 11.97 kB / 0.8488 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1656, allocations: 8.625 kB / 0.8488 GB, free: 2.652 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0003061/0.1659, allocations: 123.8 kB / 0.849 GB, free: 2.531 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 0.849 GB, free: 2.531 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002098/0.1661, allocations: 32.61 kB / 0.849 GB, free: 2.5 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.0001027/0.1662, allocations: 112 kB / 0.8491 GB, free: 2.383 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1666, allocations: 216.4 kB / 0.8493 GB, free: 2.156 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1666, allocations: 0 / 0.8493 GB, free: 2.156 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1667, allocations: 65.06 kB / 0.8494 GB, free: 2.094 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/0.1729, allocations: 41.73 kB / 0.8494 GB, free: 2.055 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.1735, allocations: 364.8 kB / 0.8498 GB, free: 1.668 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.62e-05/0.1736, allocations: 99.81 kB / 0.8498 GB, free: 1.551 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.1736, allocations: 19.44 kB / 0.8499 GB, free: 1.535 MB / 474.8 MB Notification: Performance of SimCode: time 4.71e-07/0.1736, allocations: 0 / 0.8499 GB, free: 1.535 MB / 474.8 MB Notification: Performance of Templates: time 0.005531/0.1792, allocations: 2.046 MB / 0.8519 GB, free: 15.59 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.382864250801504]