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.002656/0.002656, 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.003094/0.003094, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.751/1.751, allocations: 230.6 MB / 256 MB, free: 9.605 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.419/1.419, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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_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.003847/0.003847, allocations: 73.41 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1625, allocations: 73.98 MB / 0.8472 GB, free: 4.949 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference): time 0.004747/0.1672, allocations: 1.823 MB / 0.849 GB, free: 3.129 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1688, allocations: 0.5412 MB / 0.8496 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.1688, allocations: 0.625 kB / 0.8496 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00621/0.175, allocations: 12.36 kB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.1755, allocations: 64.8 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1757, allocations: 65.8 kB / 0.8497 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.176, allocations: 159.9 kB / 0.8498 GB, free: 2.293 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1761, allocations: 9.312 kB / 0.8499 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1762, allocations: 72.28 kB / 0.8499 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.1766, allocations: 84.31 kB / 0.85 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.1766, allocations: 7.938 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.1766, allocations: 8.594 kB / 0.85 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.1767, allocations: 32.64 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1768, allocations: 47.78 kB / 0.8501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.177, allocations: 100.2 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.177, allocations: 0 / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.177, allocations: 0.5938 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.177, allocations: 0.5938 kB / 0.8502 GB, free: 1.941 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.007059/0.1841, allocations: 393.2 kB / 0.8506 GB, free: 1.523 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1841, allocations: 12.03 kB / 0.8506 GB, free: 1.512 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.1842, allocations: 13.34 kB / 0.8506 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1845, allocations: 150.8 kB / 0.8507 GB, free: 1.328 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1845, allocations: 9.406 kB / 0.8507 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.1846, allocations: 12.12 kB / 0.8508 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.1849, allocations: 98.12 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1849, allocations: 5.625 kB / 0.8509 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.185, allocations: 3.938 kB / 0.8509 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.185, allocations: 4 kB / 0.8509 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.1854, allocations: 81.25 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.1861, allocations: 288.3 kB / 0.8512 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.1866, allocations: 127.6 kB / 0.8513 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00624/0.1928, allocations: 54.78 kB / 0.8514 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1929, allocations: 4 kB / 0.8514 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003763/0.1933, allocations: 118.9 kB / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1933, allocations: 0 / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008152/0.1941, allocations: 196.5 kB / 0.8517 GB, free: 300 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1941, allocations: 55.41 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1944, allocations: 161.5 kB / 0.8519 GB, free: 64 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.1944, allocations: 25.7 kB / 0.8519 GB, free: 32 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1945, allocations: 112.1 kB / 0.852 GB, free: 15.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.1946, allocations: 41.67 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1947, allocations: 41.7 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.1949, allocations: 322.8 kB / 0.8524 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1952, allocations: 81.66 kB / 0.8525 GB, free: 15.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006405/0.2016, allocations: 207.4 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.2021, allocations: 144.9 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2021, allocations: 0.625 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006787/0.2028, allocations: 238.1 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.2028, allocations: 29.7 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.2028, allocations: 12.59 kB / 0.8531 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2028, allocations: 4 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2031, allocations: 32.77 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2031, allocations: 0.8125 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2033, allocations: 20.09 kB / 0.8532 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2033, allocations: 4.594 kB / 0.8532 GB, free: 14.68 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.0001557/0.2035, allocations: 134.4 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.2035, allocations: 8.578 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.2041, allocations: 174.8 kB / 0.8535 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2041, allocations: 4.5 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2041, allocations: 0.6875 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2042, allocations: 0 / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.2044, allocations: 153.7 kB / 0.8536 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2044, allocations: 0.5625 kB / 0.8536 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006235/0.2106, allocations: 28.53 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2106, allocations: 0 / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2107, allocations: 4.5 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2107, allocations: 4.609 kB / 0.8537 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2107, allocations: 0 / 0.8537 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.2115, allocations: 258.5 kB / 0.8539 GB, free: 13.87 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2116, allocations: 15.91 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.2116, allocations: 4.656 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2118, allocations: 12.7 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.2118, allocations: 15.97 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.2119, allocations: 4.5 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001545/0.212, allocations: 119.9 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.212, allocations: 0 / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003608/0.2124, allocations: 32.62 kB / 0.8541 GB, free: 13.67 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.0001533/0.2125, allocations: 103.9 kB / 0.8542 GB, free: 13.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.2132, allocations: 210.2 kB / 0.8544 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2132, allocations: 0.5938 kB / 0.8544 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006273/0.2194, allocations: 71.61 kB / 0.8545 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.2199, allocations: 47.23 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.2209, allocations: 331.1 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.221, allocations: 99.3 kB / 0.8549 GB, free: 12.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.2211, allocations: 24.34 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.2212, allocations: 23.42 kB / 0.855 GB, free: 12.72 MB / 490.8 MB Notification: Performance of SimCode: time 3.41e-07/0.2212, allocations: 1.844 kB / 0.855 GB, free: 12.72 MB / 490.8 MB Notification: Performance of Templates: time 0.2744/0.4956, allocations: 2.627 MB / 0.8575 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride_KomstaSzumska1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.368245912948623]