Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.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.002346/0.002346, 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.00273/0.00273, allocations: 218.4 kB / 22.25 MB, free: 3.574 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.78/1.78, allocations: 230.6 MB / 256 MB, free: 9.598 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.468/1.468, 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.Testosterone.Testosterone_Bi2018_final_model_estimate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate") [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.00463/0.00463, allocations: 77.38 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1753, allocations: 73.99 MB / 0.8472 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate): time 0.005886/0.1812, allocations: 3.038 MB / 0.8502 GB, free: 1.855 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1831, allocations: 0.699 MB / 0.8509 GB, free: 1.164 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.1835, allocations: 4.719 kB / 0.8509 GB, free: 1.16 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1837, allocations: 40.19 kB / 0.8509 GB, free: 1.121 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.1843, allocations: 124.1 kB / 0.8511 GB, free: 1 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1846, allocations: 84.41 kB / 0.8511 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.1853, allocations: 414.6 kB / 0.8515 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1855, allocations: 63.28 kB / 0.8516 GB, free: 460 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.1858, allocations: 143.5 kB / 0.8517 GB, free: 316 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.1862, allocations: 143.8 kB / 0.8519 GB, free: 172 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.1863, allocations: 32.62 kB / 0.8519 GB, free: 140 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1864, allocations: 40.53 kB / 0.8519 GB, free: 100 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.1865, allocations: 67.7 kB / 0.852 GB, free: 32 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.1868, allocations: 144.2 kB / 0.8521 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.1873, allocations: 358.7 kB / 0.8525 GB, free: 15.54 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1873, allocations: 0.5312 kB / 0.8525 GB, free: 15.54 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1873, allocations: 0.5625 kB / 0.8525 GB, free: 15.54 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.1874, allocations: 0 / 0.8525 GB, free: 15.54 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001463/0.1888, allocations: 0.6017 MB / 0.8531 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1889, allocations: 12.66 kB / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.189, allocations: 40.7 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.1895, allocations: 229.6 kB / 0.8533 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.1895, allocations: 17.53 kB / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.1896, allocations: 35.81 kB / 0.8534 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.1903, allocations: 305.5 kB / 0.8537 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1903, allocations: 0.5 kB / 0.8537 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1903, allocations: 8.625 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1903, allocations: 4 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.1909, allocations: 250.6 kB / 0.8539 GB, free: 13.94 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1923, allocations: 0.651 MB / 0.8546 GB, free: 13.26 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.1931, allocations: 271.8 kB / 0.8548 GB, free: 12.97 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.1934, allocations: 152.5 kB / 0.855 GB, free: 12.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.1935, allocations: 4 kB / 0.855 GB, free: 12.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.349/0.5425, allocations: 370.7 kB / 0.8553 GB, free: 28.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/0.5425, allocations: 0.5312 kB / 0.8553 GB, free: 28.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001967/0.5444, allocations: 1.127 MB / 0.8564 GB, free: 27.71 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.5445, allocations: 227.3 kB / 0.8567 GB, free: 27.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.5447, allocations: 254.6 kB / 0.8569 GB, free: 27.35 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5448, allocations: 40.17 kB / 0.8569 GB, free: 27.32 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.5448, allocations: 153.7 kB / 0.8571 GB, free: 27.22 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.5449, allocations: 119.6 kB / 0.8572 GB, free: 27.16 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.545, allocations: 72.2 kB / 0.8573 GB, free: 27.15 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.5451, allocations: 344.4 kB / 0.8576 GB, free: 26.84 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.5454, allocations: 222.2 kB / 0.8578 GB, free: 26.73 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.5457, allocations: 322.3 kB / 0.8581 GB, free: 26.5 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.5462, allocations: 454.1 kB / 0.8585 GB, free: 26.25 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5462, allocations: 3.812 kB / 0.8585 GB, free: 26.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007374/0.547, allocations: 0.5759 MB / 0.8591 GB, free: 26 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.547, allocations: 89.69 kB / 0.8592 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.547, allocations: 3.875 kB / 0.8592 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.5471, allocations: 9.422 kB / 0.8592 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.5474, allocations: 81.25 kB / 0.8593 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5474, allocations: 11.69 kB / 0.8593 GB, free: 25.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.5476, allocations: 18.61 kB / 0.8593 GB, free: 25.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.5476, allocations: 18.31 kB / 0.8593 GB, free: 25.9 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002099/0.5478, allocations: 241.6 kB / 0.8596 GB, free: 25.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.5479, allocations: 28.92 kB / 0.8596 GB, free: 25.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.548, allocations: 33.11 kB / 0.8596 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.548, allocations: 3.594 kB / 0.8596 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.548, allocations: 3.562 kB / 0.8596 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.548, allocations: 0.8438 kB / 0.8596 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.5491, allocations: 0.819 MB / 0.8604 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5491, allocations: 1.781 kB / 0.8604 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.5494, allocations: 60.03 kB / 0.8605 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5494, allocations: 3.062 kB / 0.8605 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.5494, allocations: 14.45 kB / 0.8605 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.5494, allocations: 2.438 kB / 0.8605 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5494, allocations: 0 / 0.8605 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.5503, allocations: 0.7666 MB / 0.8613 GB, free: 24.97 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5504, allocations: 57.16 kB / 0.8613 GB, free: 24.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.5505, allocations: 13.66 kB / 0.8613 GB, free: 24.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.5507, allocations: 18.44 kB / 0.8613 GB, free: 24.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.5508, allocations: 30.39 kB / 0.8614 GB, free: 24.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.5508, allocations: 15.94 kB / 0.8614 GB, free: 24.95 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001647/0.551, allocations: 185.6 kB / 0.8616 GB, free: 24.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.551, allocations: 0 / 0.8616 GB, free: 24.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003891/0.5514, allocations: 89.47 kB / 0.8616 GB, free: 24.87 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001213/0.5515, allocations: 130.6 kB / 0.8618 GB, free: 24.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.5522, allocations: 0.5825 MB / 0.8623 GB, free: 24.42 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5522, allocations: 2 kB / 0.8623 GB, free: 24.42 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.5526, allocations: 323 kB / 0.8627 GB, free: 24.22 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.5531, allocations: 89.8 kB / 0.8627 GB, free: 24.22 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.5547, allocations: 1.038 MB / 0.8638 GB, free: 23.75 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.5549, allocations: 163.3 kB / 0.8639 GB, free: 23.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000161/0.555, allocations: 39.69 kB / 0.8639 GB, free: 23.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.5551, allocations: 28.28 kB / 0.864 GB, free: 23.65 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.5551, allocations: 0.9688 kB / 0.864 GB, free: 23.65 MB / 490.8 MB Notification: Performance of Templates: time 0.01065/0.5657, allocations: 5.287 MB / 0.8691 GB, free: 23.14 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.918558683944866]