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.002202/0.002202, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002264/0.002264, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.572/1.572, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.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.363/1.363, allocations: 292.9 MB / 0.5392 GB, free: 49.84 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.171e-05/4.342e-05, allocations: 9.031 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate): time 0.004335/0.004379, allocations: 3.032 MB / 0.7029 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.005463, allocations: 0.6975 MB / 0.7035 GB, free: 4.805 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.005582, allocations: 0 / 0.7035 GB, free: 4.805 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.005711, allocations: 43.56 kB / 0.7036 GB, free: 4.762 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005949, allocations: 134.9 kB / 0.7037 GB, free: 4.629 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.006177, allocations: 83.8 kB / 0.7038 GB, free: 4.547 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.006537, allocations: 429.8 kB / 0.7042 GB, free: 4.125 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.006712, allocations: 61.42 kB / 0.7043 GB, free: 4.066 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.006951, allocations: 227.5 kB / 0.7045 GB, free: 3.844 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.007201, allocations: 127.5 kB / 0.7046 GB, free: 3.719 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.007254, allocations: 32 kB / 0.7046 GB, free: 3.688 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.007303, allocations: 32 kB / 0.7047 GB, free: 3.656 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.007352, allocations: 67.69 kB / 0.7047 GB, free: 3.59 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.007477, allocations: 123.7 kB / 0.7048 GB, free: 3.469 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.007803, allocations: 366.9 kB / 0.7052 GB, free: 3.109 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.007807, allocations: 0 / 0.7052 GB, free: 3.109 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.512e-06/0.007809, allocations: 0 / 0.7052 GB, free: 3.109 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.007816, allocations: 3.938 kB / 0.7052 GB, free: 3.105 MB / 410.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.0009626/0.008779, allocations: 0.6076 MB / 0.7058 GB, free: 2.449 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.008818, allocations: 8.031 kB / 0.7058 GB, free: 2.441 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.008901, allocations: 36.7 kB / 0.7058 GB, free: 2.406 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.009152, allocations: 224.8 kB / 0.706 GB, free: 2.164 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.009174, allocations: 16.88 kB / 0.7061 GB, free: 2.148 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.009219, allocations: 24.33 kB / 0.7061 GB, free: 2.125 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.00965, allocations: 318.1 kB / 0.7064 GB, free: 1.785 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.009669, allocations: 4 kB / 0.7064 GB, free: 1.781 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.009692, allocations: 7.984 kB / 0.7064 GB, free: 1.773 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.009702, allocations: 4 kB / 0.7064 GB, free: 1.77 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.01013, allocations: 252.2 kB / 0.7066 GB, free: 1.512 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.01102, allocations: 0.6543 MB / 0.7073 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.01155, allocations: 266 kB / 0.7075 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.01176, allocations: 160.4 kB / 0.7077 GB, free: 376 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.01178, allocations: 0 / 0.7077 GB, free: 376 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.01221, allocations: 375.4 kB / 0.708 GB, free: 15.95 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.01221, allocations: 0 / 0.708 GB, free: 15.95 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002337/0.01454, allocations: 1.131 MB / 0.7092 GB, free: 14.72 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.01472, allocations: 221.6 kB / 0.7094 GB, free: 14.46 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.01504, allocations: 257.9 kB / 0.7096 GB, free: 14.2 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.01509, allocations: 37.69 kB / 0.7096 GB, free: 14.16 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.01523, allocations: 160.8 kB / 0.7098 GB, free: 13.99 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.01535, allocations: 115.1 kB / 0.7099 GB, free: 13.88 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.01548, allocations: 74.19 kB / 0.71 GB, free: 13.8 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.0157, allocations: 350.7 kB / 0.7103 GB, free: 13.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.01608, allocations: 215.9 kB / 0.7105 GB, free: 13.22 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.01655, allocations: 326.8 kB / 0.7108 GB, free: 12.83 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.01728, allocations: 458.2 kB / 0.7113 GB, free: 12.32 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01728, allocations: 0 / 0.7113 GB, free: 12.32 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001035/0.01831, allocations: 0.5846 MB / 0.7118 GB, free: 11.69 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.01841, allocations: 92.38 kB / 0.7119 GB, free: 11.58 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.01842, allocations: 4.344 kB / 0.7119 GB, free: 11.58 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.01844, allocations: 8 kB / 0.7119 GB, free: 11.57 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.01879, allocations: 79.89 kB / 0.712 GB, free: 11.49 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.0188, allocations: 7.984 kB / 0.712 GB, free: 11.48 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.01905, allocations: 23.98 kB / 0.712 GB, free: 11.46 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.01909, allocations: 19.94 kB / 0.7121 GB, free: 11.44 MB / 426.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.0003506/0.01944, allocations: 236.3 kB / 0.7123 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.0195, allocations: 31.81 kB / 0.7123 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.01958, allocations: 34.95 kB / 0.7124 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01959, allocations: 4 kB / 0.7124 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.0196, allocations: 0 / 0.7124 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.01961, allocations: 4 kB / 0.7124 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.02101, allocations: 0.8211 MB / 0.7132 GB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02102, allocations: 0 / 0.7132 GB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.02133, allocations: 55.97 kB / 0.7132 GB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.02133, allocations: 3.984 kB / 0.7132 GB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.02137, allocations: 19.92 kB / 0.7132 GB, free: 10.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02137, allocations: 0 / 0.7132 GB, free: 10.16 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02137, allocations: 3.938 kB / 0.7132 GB, free: 10.16 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.02264, allocations: 0.7679 MB / 0.714 GB, free: 9.336 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.02277, allocations: 59.77 kB / 0.7141 GB, free: 9.277 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.02283, allocations: 8 kB / 0.7141 GB, free: 9.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.02304, allocations: 23.98 kB / 0.7141 GB, free: 9.246 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.02316, allocations: 27.95 kB / 0.7141 GB, free: 9.219 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.02319, allocations: 19.92 kB / 0.7141 GB, free: 9.199 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002168/0.02341, allocations: 181.2 kB / 0.7143 GB, free: 9.023 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02341, allocations: 0 / 0.7143 GB, free: 9.023 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003933/0.0238, allocations: 88 kB / 0.7144 GB, free: 8.938 MB / 426.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.0001862/0.02398, allocations: 126.9 kB / 0.7145 GB, free: 8.809 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.02493, allocations: 0.5881 MB / 0.7151 GB, free: 8.152 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02493, allocations: 0 / 0.7151 GB, free: 8.152 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.02538, allocations: 314.1 kB / 0.7154 GB, free: 7.809 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.02595, allocations: 92.19 kB / 0.7155 GB, free: 7.719 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.02767, allocations: 0.8617 MB / 0.7163 GB, free: 6.82 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.02785, allocations: 168.2 kB / 0.7165 GB, free: 6.633 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.028, allocations: 38.95 kB / 0.7165 GB, free: 6.594 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.02809, allocations: 24.5 kB / 0.7165 GB, free: 6.57 MB / 426.8 MB Notification: Performance of SimCode: time 7.51e-07/0.02809, allocations: 0 / 0.7165 GB, free: 6.57 MB / 426.8 MB Notification: Performance of Templates: time 0.2249/0.253, allocations: 4.82 MB / 0.7212 GB, free: 35.43 MB / 426.8 MB " [Timeout remaining time 660] 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.011223847977817]