Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_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.001153/0.001153, allocations: 104.4 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.001114/0.001114, allocations: 224.4 kB / 23.01 MB, free: 2.941 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.113/1.113, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.8296/0.8296, allocations: 312.3 MB / 0.6108 GB, free: 97.58 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_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_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.001731/0.001731, allocations: 72.42 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.152, allocations: 73.99 MB / 0.8421 GB, free: 10.37 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference): time 0.002825/0.1548, allocations: 1.818 MB / 0.8439 GB, free: 8.551 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009493/0.1557, allocations: 0.5455 MB / 0.8445 GB, free: 8.004 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.1558, allocations: 3.938 kB / 0.8445 GB, free: 8 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1559, allocations: 8.422 kB / 0.8445 GB, free: 7.992 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.1563, allocations: 68.77 kB / 0.8445 GB, free: 7.926 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1565, allocations: 66.3 kB / 0.8446 GB, free: 7.863 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1567, allocations: 159.3 kB / 0.8447 GB, free: 7.707 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.1568, allocations: 9.922 kB / 0.8448 GB, free: 7.699 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1569, allocations: 67.77 kB / 0.8448 GB, free: 7.633 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1571, allocations: 88.2 kB / 0.8449 GB, free: 7.547 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1572, allocations: 8.531 kB / 0.8449 GB, free: 7.539 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.1572, allocations: 4.5 kB / 0.8449 GB, free: 7.535 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.1572, allocations: 39.83 kB / 0.845 GB, free: 7.496 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.1573, allocations: 44.48 kB / 0.845 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1575, allocations: 96.23 kB / 0.8451 GB, free: 7.359 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1575, allocations: 0 / 0.8451 GB, free: 7.359 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1575, allocations: 0.5 kB / 0.8451 GB, free: 7.359 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1575, allocations: 0 / 0.8451 GB, free: 7.359 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.0008216/0.1583, allocations: 393.4 kB / 0.8455 GB, free: 6.941 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1584, allocations: 12.56 kB / 0.8455 GB, free: 6.93 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.1584, allocations: 12.84 kB / 0.8455 GB, free: 6.918 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1586, allocations: 155.7 kB / 0.8456 GB, free: 6.742 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1586, allocations: 4.375 kB / 0.8456 GB, free: 6.738 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1587, allocations: 16.72 kB / 0.8457 GB, free: 6.723 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1589, allocations: 98.42 kB / 0.8457 GB, free: 6.621 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1589, allocations: 3.938 kB / 0.8458 GB, free: 6.617 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1589, allocations: 4.594 kB / 0.8458 GB, free: 6.613 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1589, allocations: 4.5 kB / 0.8458 GB, free: 6.609 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1591, allocations: 77.11 kB / 0.8458 GB, free: 6.535 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1595, allocations: 280.3 kB / 0.8461 GB, free: 6.23 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1598, allocations: 139.5 kB / 0.8462 GB, free: 6.086 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.1598, allocations: 49.53 kB / 0.8463 GB, free: 6.035 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1599, allocations: 4.625 kB / 0.8463 GB, free: 6.031 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.1601, allocations: 119.6 kB / 0.8464 GB, free: 5.906 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/0.1601, allocations: 0.7188 kB / 0.8464 GB, free: 5.906 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003902/0.1605, allocations: 198.8 kB / 0.8466 GB, free: 5.707 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1605, allocations: 55.89 kB / 0.8466 GB, free: 5.641 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1606, allocations: 157.3 kB / 0.8468 GB, free: 5.48 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1607, allocations: 30.3 kB / 0.8468 GB, free: 5.445 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.1607, allocations: 104.6 kB / 0.8469 GB, free: 5.34 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1608, allocations: 44.2 kB / 0.847 GB, free: 5.297 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.1608, allocations: 41.7 kB / 0.847 GB, free: 5.25 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.1609, allocations: 327.3 kB / 0.8473 GB, free: 4.922 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.161, allocations: 82.25 kB / 0.8474 GB, free: 4.836 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1612, allocations: 209 kB / 0.8476 GB, free: 4.598 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1614, allocations: 139.7 kB / 0.8477 GB, free: 4.453 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1614, allocations: 0.625 kB / 0.8477 GB, free: 4.453 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002938/0.1617, allocations: 243.9 kB / 0.848 GB, free: 4.199 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.1617, allocations: 30.3 kB / 0.848 GB, free: 4.164 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1617, allocations: 0 / 0.848 GB, free: 4.164 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1617, allocations: 4.531 kB / 0.848 GB, free: 4.16 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1618, allocations: 28.52 kB / 0.848 GB, free: 4.133 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1618, allocations: 0.625 kB / 0.848 GB, free: 4.133 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.1619, allocations: 28.56 kB / 0.848 GB, free: 4.105 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1619, allocations: 7.984 kB / 0.8481 GB, free: 4.098 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 8.908e-05/0.162, allocations: 126.4 kB / 0.8482 GB, free: 3.965 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.162, allocations: 8.703 kB / 0.8482 GB, free: 3.957 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.1623, allocations: 179.4 kB / 0.8484 GB, free: 3.777 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1623, allocations: 4 kB / 0.8484 GB, free: 3.773 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1623, allocations: 0.5625 kB / 0.8484 GB, free: 3.773 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1623, allocations: 0.5312 kB / 0.8484 GB, free: 3.773 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1625, allocations: 153.2 kB / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1625, allocations: 0.7188 kB / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1626, allocations: 24.61 kB / 0.8485 GB, free: 3.57 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1626, allocations: 3.938 kB / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1626, allocations: 4.5 kB / 0.8485 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1626, allocations: 0.6875 kB / 0.8485 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1626, allocations: 4 kB / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.163, allocations: 258.4 kB / 0.8488 GB, free: 3.289 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.163, allocations: 11.92 kB / 0.8488 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.163, allocations: 0.5 kB / 0.8488 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.1631, allocations: 20.48 kB / 0.8488 GB, free: 3.258 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.1631, allocations: 12.62 kB / 0.8488 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1631, allocations: 4 kB / 0.8488 GB, free: 3.242 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.1632, allocations: 119.9 kB / 0.849 GB, free: 3.125 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1632, allocations: 0.5 kB / 0.849 GB, free: 3.125 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000149/0.1634, allocations: 35.98 kB / 0.849 GB, free: 3.09 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.0001383/0.1635, allocations: 104.4 kB / 0.8491 GB, free: 2.98 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.1638, allocations: 216.9 kB / 0.8493 GB, free: 2.754 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1638, allocations: 0.625 kB / 0.8493 GB, free: 2.754 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.1639, allocations: 60.55 kB / 0.8494 GB, free: 2.695 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1641, allocations: 50.8 kB / 0.8494 GB, free: 2.648 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.1648, allocations: 360.5 kB / 0.8497 GB, free: 2.266 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.43e-05/0.1649, allocations: 103.4 kB / 0.8498 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.1649, allocations: 15.44 kB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of SimCode: time 1.032e-06/0.1649, allocations: 0.625 kB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of Templates: time 0.003376/0.1683, allocations: 2.045 MB / 0.8519 GB, free: 188 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuryiChloride.MercuryiChloride_Sauder1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.341224581934512]