Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.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.001887/0.001887, 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.002156/0.002156, allocations: 214.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.676/1.676, allocations: 230.6 MB / 256 MB, free: 9.617 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.516/1.516, allocations: 316.7 MB / 0.6144 GB, free: 92.87 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_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") [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.01099/0.01099, allocations: 78 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1629, allocations: 73.99 MB / 0.8472 GB, free: 4.969 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7): time 0.00415/0.167, allocations: 2.318 MB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1683, allocations: 0.5831 MB / 0.8501 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.1684, allocations: 8.5 kB / 0.8501 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1685, allocations: 28.34 kB / 0.8501 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1687, allocations: 80.25 kB / 0.8502 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1689, allocations: 52.55 kB / 0.8502 GB, free: 1.906 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.1693, allocations: 259.4 kB / 0.8505 GB, free: 1.652 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1694, allocations: 28.58 kB / 0.8505 GB, free: 1.625 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1696, allocations: 104.2 kB / 0.8506 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1698, allocations: 96.08 kB / 0.8507 GB, free: 1.43 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.1698, allocations: 16 kB / 0.8507 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.1699, allocations: 16.69 kB / 0.8507 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.1699, allocations: 47.83 kB / 0.8508 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1701, allocations: 84.39 kB / 0.8509 GB, free: 1.27 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1704, allocations: 199.2 kB / 0.851 GB, free: 1.074 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1704, allocations: 0.625 kB / 0.851 GB, free: 1.074 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1704, allocations: 0 / 0.851 GB, free: 1.074 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1704, allocations: 0.7188 kB / 0.851 GB, free: 1.074 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.0009929/0.1714, allocations: 0.4903 MB / 0.8515 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1714, allocations: 13.31 kB / 0.8515 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.1715, allocations: 24.8 kB / 0.8516 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1718, allocations: 187.1 kB / 0.8517 GB, free: 300 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1718, allocations: 9.766 kB / 0.8518 GB, free: 292 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.1718, allocations: 23.89 kB / 0.8518 GB, free: 268 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.1723, allocations: 191.6 kB / 0.852 GB, free: 64 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1723, allocations: 4 kB / 0.852 GB, free: 60 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1723, allocations: 4 kB / 0.852 GB, free: 56 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1723, allocations: 4 kB / 0.852 GB, free: 52 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.1727, allocations: 151.3 kB / 0.8521 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.1736, allocations: 484 kB / 0.8526 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.1741, allocations: 180.1 kB / 0.8527 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.1743, allocations: 96.08 kB / 0.8528 GB, free: 15.1 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1744, allocations: 0 / 0.8528 GB, free: 15.1 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.1748, allocations: 236.8 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.1748, allocations: 1.406 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001645/0.1764, allocations: 0.6956 MB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.1765, allocations: 141.1 kB / 0.8539 GB, free: 13.92 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.1768, allocations: 215 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1768, allocations: 30.2 kB / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.177, allocations: 133.2 kB / 0.8542 GB, free: 13.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.177, allocations: 71.42 kB / 0.8543 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1771, allocations: 58.34 kB / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.1773, allocations: 334.8 kB / 0.8547 GB, free: 13.06 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.1776, allocations: 145.6 kB / 0.8548 GB, free: 12.9 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.178, allocations: 225.9 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.293/0.471, allocations: 274.6 kB / 0.8553 GB, free: 28.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.471, allocations: 0.9375 kB / 0.8553 GB, free: 28.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006972/0.4717, allocations: 394 kB / 0.8557 GB, free: 28.19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.4717, allocations: 64.31 kB / 0.8557 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4717, allocations: 3.125 kB / 0.8557 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.4717, allocations: 3.344 kB / 0.8557 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.472, allocations: 52.92 kB / 0.8558 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.472, allocations: 5.344 kB / 0.8558 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4722, allocations: 17.09 kB / 0.8558 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4722, allocations: 14.62 kB / 0.8558 GB, free: 28.13 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.0001757/0.4724, allocations: 169.5 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4724, allocations: 26.36 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.4724, allocations: 25.78 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4724, allocations: 3.828 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4724, allocations: 3.188 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4725, allocations: 0.5938 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.4732, allocations: 0.534 MB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4732, allocations: 4.969 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.4733, allocations: 36 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4733, allocations: 1.938 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.4734, allocations: 7.391 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4734, allocations: 4.531 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4734, allocations: 2.562 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.474, allocations: 0.496 MB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.474, allocations: 19.53 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.4741, allocations: 8.531 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4742, allocations: 17.66 kB / 0.8572 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.4743, allocations: 21.28 kB / 0.8572 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4743, allocations: 7.344 kB / 0.8572 GB, free: 27.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001193/0.4745, allocations: 157.8 kB / 0.8573 GB, free: 27.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4745, allocations: 0 / 0.8573 GB, free: 27.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003005/0.4748, allocations: 56.11 kB / 0.8574 GB, free: 27.38 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 9.247e-05/0.4748, allocations: 116.5 kB / 0.8575 GB, free: 27.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.4753, allocations: 384.1 kB / 0.8579 GB, free: 27.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4753, allocations: 0 / 0.8579 GB, free: 27.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.4756, allocations: 175.1 kB / 0.858 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.476, allocations: 64.91 kB / 0.8581 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4772, allocations: 0.6752 MB / 0.8587 GB, free: 26.69 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.4773, allocations: 123.5 kB / 0.8589 GB, free: 26.61 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4774, allocations: 24.67 kB / 0.8589 GB, free: 26.61 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.4775, allocations: 26.22 kB / 0.8589 GB, free: 26.6 MB / 490.8 MB Notification: Performance of SimCode: time 5.82e-07/0.4775, allocations: 0.625 kB / 0.8589 GB, free: 26.6 MB / 490.8 MB Notification: Performance of Templates: time 0.00814/0.4856, allocations: 3.634 MB / 0.8625 GB, free: 26.31 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.665580440079793]