Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.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.001916/0.001916, allocations: 109.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.002419/0.002419, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.739/1.739, 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.454/1.454, allocations: 316.7 MB / 0.6144 GB, free: 93.1 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.CadmiumChloride.CadmiumChloride_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") [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.003943/0.003943, allocations: 81.56 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1572, allocations: 73.99 MB / 0.8472 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating): time 0.004368/0.1616, allocations: 2.335 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1629, allocations: 0.5874 MB / 0.8501 GB, free: 2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.163, allocations: 4.531 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1632, allocations: 27.72 kB / 0.8501 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1634, allocations: 80.44 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1636, allocations: 52.47 kB / 0.8502 GB, free: 1.84 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.164, allocations: 259.4 kB / 0.8505 GB, free: 1.586 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1641, allocations: 36.55 kB / 0.8505 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1643, allocations: 96.22 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1645, allocations: 100 kB / 0.8507 GB, free: 1.359 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.1646, allocations: 16.75 kB / 0.8507 GB, free: 1.344 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.1646, allocations: 16 kB / 0.8507 GB, free: 1.328 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1646, allocations: 40.41 kB / 0.8508 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1648, allocations: 87.59 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1651, allocations: 203.7 kB / 0.851 GB, free: 1.004 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1651, allocations: 0.5 kB / 0.851 GB, free: 1.004 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1651, allocations: 0.5938 kB / 0.851 GB, free: 1.004 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1651, allocations: 0 / 0.851 GB, free: 1.004 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001336/0.1664, allocations: 498.7 kB / 0.8515 GB, free: 484 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1665, allocations: 8.031 kB / 0.8515 GB, free: 476 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.1665, allocations: 25.67 kB / 0.8516 GB, free: 452 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1668, allocations: 179.2 kB / 0.8517 GB, free: 244 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1668, allocations: 14.8 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.1669, allocations: 19.89 kB / 0.8518 GB, free: 212 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.1673, allocations: 194.4 kB / 0.8519 GB, free: 0 / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1673, allocations: 0 / 0.8519 GB, free: 0 / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.1674, allocations: 4.078 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1674, allocations: 5.969 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.1678, allocations: 150.2 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.1686, allocations: 486.4 kB / 0.8526 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.1694, allocations: 178.7 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.1697, allocations: 94.52 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1697, allocations: 0 / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/0.1702, allocations: 230.5 kB / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.1702, allocations: 4.781 kB / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001893/0.1721, allocations: 0.6961 MB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.1722, allocations: 137 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.1725, allocations: 220 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1726, allocations: 34.36 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1727, allocations: 129.2 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.1728, allocations: 75.41 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1729, allocations: 58.28 kB / 0.8543 GB, free: 13.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.1731, allocations: 338.8 kB / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.1734, allocations: 141.6 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.1737, allocations: 228.3 kB / 0.855 GB, free: 12.57 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2896/0.4634, allocations: 280.3 kB / 0.8553 GB, free: 28.33 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4634, allocations: 0 / 0.8553 GB, free: 28.33 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007367/0.4641, allocations: 396 kB / 0.8557 GB, free: 28.17 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.4641, allocations: 64.2 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4642, allocations: 1.438 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.4642, allocations: 5.109 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.4644, allocations: 54.17 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4644, allocations: 6.578 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.4646, allocations: 16.81 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4646, allocations: 9.281 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001933/0.4648, allocations: 170.9 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.4649, allocations: 29.45 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.4649, allocations: 27.39 kB / 0.856 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4649, allocations: 1.375 kB / 0.856 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4649, allocations: 3.5 kB / 0.856 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.465, allocations: 0.75 kB / 0.856 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007168/0.4657, allocations: 0.5319 MB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4657, allocations: 0 / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.4659, allocations: 36.14 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4659, allocations: 4.906 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.4659, allocations: 2.125 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4659, allocations: 5.594 kB / 0.8566 GB, free: 27.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4659, allocations: 2.438 kB / 0.8566 GB, free: 27.65 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.4665, allocations: 0.4912 MB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.4666, allocations: 24.61 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.4666, allocations: 10 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4668, allocations: 16.89 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.4668, allocations: 17.12 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.4669, allocations: 9.125 kB / 0.8572 GB, free: 27.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001254/0.467, allocations: 158.8 kB / 0.8573 GB, free: 27.35 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.467, allocations: 0.6562 kB / 0.8573 GB, free: 27.35 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002906/0.4673, allocations: 53.75 kB / 0.8574 GB, free: 27.35 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001118/0.4674, allocations: 113.8 kB / 0.8575 GB, free: 27.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005094/0.4679, allocations: 379.1 kB / 0.8578 GB, free: 27.04 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4679, allocations: 0.5 kB / 0.8578 GB, free: 27.04 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.4681, allocations: 175.8 kB / 0.858 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4686, allocations: 73.19 kB / 0.8581 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.4697, allocations: 0.6745 MB / 0.8587 GB, free: 26.67 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4698, allocations: 125.9 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.4699, allocations: 34.3 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.4699, allocations: 21.09 kB / 0.8589 GB, free: 26.58 MB / 490.8 MB Notification: Performance of SimCode: time 4.9e-07/0.4699, allocations: 0.625 kB / 0.8589 GB, free: 26.58 MB / 490.8 MB Notification: Performance of Templates: time 0.007802/0.4778, allocations: 3.63 MB / 0.8624 GB, free: 26.29 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.712037667864934]