Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.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.002022/0.002022, allocations: 101.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.002317/0.002317, allocations: 214.5 kB / 22.25 MB, free: 3.566 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.713/1.713, 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.432/1.432, allocations: 316.7 MB / 0.6144 GB, free: 93.15 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.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") [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.003957/0.003957, allocations: 73.98 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1592, allocations: 74 MB / 0.8472 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate): time 0.003629/0.1628, allocations: 1.825 MB / 0.849 GB, free: 3.121 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1641, allocations: 0.5454 MB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.1641, allocations: 0.5938 kB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1642, allocations: 16.42 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.1646, allocations: 64.83 kB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1648, allocations: 65.86 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.165, allocations: 159.3 kB / 0.8499 GB, free: 2.277 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1651, allocations: 5.906 kB / 0.8499 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1652, allocations: 76.44 kB / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1655, allocations: 75.72 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1655, allocations: 12.56 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.1655, allocations: 8.625 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.1656, allocations: 39.81 kB / 0.8501 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.1657, allocations: 48.45 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1659, allocations: 95.56 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1659, allocations: 0.6562 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1659, allocations: 0.5 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1659, allocations: 0 / 0.8502 GB, free: 1.926 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.0009827/0.1669, allocations: 393 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.167, allocations: 12.75 kB / 0.8506 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.167, allocations: 16.83 kB / 0.8506 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1673, allocations: 151.4 kB / 0.8508 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1673, allocations: 9 kB / 0.8508 GB, free: 1.301 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.1674, allocations: 8.125 kB / 0.8508 GB, free: 1.293 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1677, allocations: 98.41 kB / 0.8509 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1677, allocations: 5.828 kB / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1677, allocations: 4 kB / 0.8509 GB, free: 1.184 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1677, allocations: 0 / 0.8509 GB, free: 1.184 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.168, allocations: 77.14 kB / 0.8509 GB, free: 1.109 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.1686, allocations: 284.3 kB / 0.8512 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.169, allocations: 143.4 kB / 0.8514 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1692, allocations: 53.58 kB / 0.8514 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1692, allocations: 0 / 0.8514 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.1695, allocations: 113 kB / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1695, allocations: 0 / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006269/0.1701, allocations: 203.2 kB / 0.8517 GB, free: 284 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1702, allocations: 55.41 kB / 0.8518 GB, free: 216 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1704, allocations: 157.3 kB / 0.8519 GB, free: 52 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1704, allocations: 33.69 kB / 0.8519 GB, free: 12 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1705, allocations: 104.1 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.1706, allocations: 44.2 kB / 0.8521 GB, free: 15.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.1707, allocations: 37.7 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1709, allocations: 331.7 kB / 0.8524 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.1711, allocations: 85.64 kB / 0.8525 GB, free: 15.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1714, allocations: 196.1 kB / 0.8527 GB, free: 15.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.1717, allocations: 145.1 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1717, allocations: 0 / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005192/0.1723, allocations: 242.3 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.1723, allocations: 37.69 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1723, allocations: 0.8438 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1723, allocations: 3.938 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1725, allocations: 28.61 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1725, allocations: 4.625 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1727, allocations: 24.5 kB / 0.8532 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.1727, allocations: 8 kB / 0.8532 GB, free: 14.66 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.0001519/0.1729, allocations: 124 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1729, allocations: 11.95 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.1734, allocations: 179.5 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1734, allocations: 0.5938 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1734, allocations: 0 / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1734, allocations: 4.625 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1736, allocations: 153.2 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1736, allocations: 0.5 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.1738, allocations: 28.56 kB / 0.8537 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1738, allocations: 0.625 kB / 0.8537 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1738, allocations: 0 / 0.8537 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1738, allocations: 4.688 kB / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1738, allocations: 0 / 0.8537 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.1745, allocations: 258.1 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.1745, allocations: 12.55 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1745, allocations: 4.625 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1747, allocations: 12.48 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.1747, allocations: 15.97 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1748, allocations: 4.688 kB / 0.854 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1749, allocations: 119.2 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1749, allocations: 0.625 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004016/0.1753, allocations: 32.69 kB / 0.8541 GB, free: 13.66 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.0001556/0.1755, allocations: 103.8 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007825/0.1763, allocations: 214.4 kB / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1763, allocations: 0 / 0.8544 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1765, allocations: 60.52 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.0003719/0.1769, allocations: 56.09 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.1777, allocations: 329.4 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1779, allocations: 103.3 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.178, allocations: 23.84 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.178, allocations: 24.53 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 9.02e-07/0.178, allocations: 0 / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.2669/0.4449, allocations: 2.61 MB / 0.8575 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.359934673877433]