Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_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.001951/0.001951, 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.002052/0.002052, allocations: 222.4 kB / 22.25 MB, free: 3.699 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.778/1.778, allocations: 230.6 MB / 256 MB, free: 9.602 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.06 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_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_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.004361/0.004361, allocations: 77.08 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1599, allocations: 74 MB / 0.8473 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference): time 0.004608/0.1646, allocations: 1.805 MB / 0.849 GB, free: 3.059 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1661, allocations: 0.5414 MB / 0.8495 GB, free: 2.516 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.1662, allocations: 0.5625 kB / 0.8495 GB, free: 2.516 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1663, allocations: 19.84 kB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.1667, allocations: 65.48 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.167, allocations: 57.53 kB / 0.8497 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1673, allocations: 164 kB / 0.8498 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1674, allocations: 5.312 kB / 0.8498 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1675, allocations: 80.19 kB / 0.8499 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.1678, allocations: 80.34 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.1679, allocations: 8 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.1679, allocations: 8.625 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.168, allocations: 36.55 kB / 0.85 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1681, allocations: 47.78 kB / 0.8501 GB, free: 1.961 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1684, allocations: 92.2 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1684, allocations: 0 / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1684, allocations: 0.625 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1684, allocations: 0 / 0.8502 GB, free: 1.871 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.001378/0.1697, allocations: 393.2 kB / 0.8506 GB, free: 1.453 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1698, allocations: 12.62 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.1699, allocations: 13.47 kB / 0.8506 GB, free: 1.43 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1702, allocations: 150.9 kB / 0.8507 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1702, allocations: 16.86 kB / 0.8507 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.1703, allocations: 16.11 kB / 0.8508 GB, free: 1.227 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1707, allocations: 94.34 kB / 0.8508 GB, free: 1.129 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1707, allocations: 4.562 kB / 0.8508 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.1707, allocations: 8.5 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1707, allocations: 0 / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.1711, allocations: 81.19 kB / 0.8509 GB, free: 1.039 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.1719, allocations: 280.9 kB / 0.8512 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.1725, allocations: 135 kB / 0.8513 GB, free: 0.5938 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1728, allocations: 54.12 kB / 0.8514 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1728, allocations: 4 kB / 0.8514 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.1733, allocations: 112 kB / 0.8515 GB, free: 424 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1733, allocations: 0.5 kB / 0.8515 GB, free: 424 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0009193/0.1742, allocations: 206.9 kB / 0.8517 GB, free: 216 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1742, allocations: 51.41 kB / 0.8517 GB, free: 152 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.1746, allocations: 161.4 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.1746, allocations: 30.27 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1747, allocations: 109.8 kB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.1748, allocations: 39.64 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1749, allocations: 41.7 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.1752, allocations: 326.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.1755, allocations: 78.94 kB / 0.8525 GB, free: 15.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1759, allocations: 210.1 kB / 0.8527 GB, free: 15.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.1764, allocations: 138.2 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1764, allocations: 3.984 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006868/0.1771, allocations: 242.4 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.1771, allocations: 33.7 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1771, allocations: 0 / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1771, allocations: 0.8125 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1774, allocations: 30.47 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1774, allocations: 3.984 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1777, allocations: 28.09 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.1777, allocations: 4 kB / 0.8532 GB, free: 14.6 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.0001695/0.1779, allocations: 129.7 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.1779, allocations: 17.75 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.1785, allocations: 170.4 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1785, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1786, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1786, allocations: 1.281 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1788, allocations: 153.1 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1788, allocations: 3.938 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.1791, allocations: 28.61 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1791, allocations: 4.578 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1791, allocations: 0 / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1791, allocations: 4.5 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1791, allocations: 0.6562 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.18, allocations: 250.1 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.18, allocations: 15.91 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.18, allocations: 0.625 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.1802, allocations: 20.7 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.1803, allocations: 15.97 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1803, allocations: 4.75 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1805, allocations: 119.2 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1805, allocations: 0.7188 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003779/0.1809, allocations: 32 kB / 0.8541 GB, free: 13.59 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.000195/0.1811, allocations: 100.5 kB / 0.8542 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006705/0.1817, allocations: 214.1 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1817, allocations: 0.5625 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.182, allocations: 68.52 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.1825, allocations: 45.59 kB / 0.8545 GB, free: 13.15 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1835, allocations: 329.9 kB / 0.8548 GB, free: 12.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.1837, allocations: 103.4 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.1838, allocations: 20.48 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.1839, allocations: 19.42 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.1839, allocations: 0.6875 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of Templates: time 0.2617/0.4455, allocations: 2.627 MB / 0.8575 GB, free: 27.85 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.45098024699837]