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.001006/0.001006, allocations: 108.3 kB / 19.71 MB, free: 432 kB / 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.00146/0.00146, allocations: 216.4 kB / 23 MB, free: 2.965 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 0.9335/0.9335, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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 0.654/0.654, allocations: 312.3 MB / 0.6108 GB, free: 97.53 MB / 410.7 MB " [Timeout remaining time 179] 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.001329/0.001329, allocations: 77.58 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 73.99 MB / 0.8422 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate): time 0.002932/0.1105, allocations: 3.035 MB / 0.8451 GB, free: 7.316 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.1112, allocations: 0.6955 MB / 0.8458 GB, free: 6.629 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.1113, allocations: 8.531 kB / 0.8458 GB, free: 6.621 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.831e-05/0.1114, allocations: 35.62 kB / 0.8459 GB, free: 6.586 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1116, allocations: 128.4 kB / 0.846 GB, free: 6.461 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1117, allocations: 84.47 kB / 0.8461 GB, free: 6.379 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.112, allocations: 418.8 kB / 0.8465 GB, free: 5.969 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1121, allocations: 58.12 kB / 0.8465 GB, free: 5.91 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1122, allocations: 151.5 kB / 0.8467 GB, free: 5.762 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1124, allocations: 144 kB / 0.8468 GB, free: 5.621 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1124, allocations: 32.66 kB / 0.8468 GB, free: 5.59 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.49e-05/0.1124, allocations: 35.94 kB / 0.8469 GB, free: 5.555 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.1125, allocations: 60.34 kB / 0.8469 GB, free: 5.496 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.1126, allocations: 151.9 kB / 0.8471 GB, free: 5.348 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1128, allocations: 350.7 kB / 0.8474 GB, free: 5.004 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1128, allocations: 0.5938 kB / 0.8474 GB, free: 5.004 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1128, allocations: 0.5 kB / 0.8474 GB, free: 5.004 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1128, allocations: 3.938 kB / 0.8474 GB, free: 5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008744/0.1137, allocations: 0.6055 MB / 0.848 GB, free: 4.348 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1137, allocations: 12.61 kB / 0.848 GB, free: 4.336 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.1138, allocations: 37.33 kB / 0.848 GB, free: 4.301 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.114, allocations: 233 kB / 0.8483 GB, free: 4.047 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.114, allocations: 13.44 kB / 0.8483 GB, free: 4.035 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.114, allocations: 31.89 kB / 0.8483 GB, free: 4.004 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1143, allocations: 302.6 kB / 0.8486 GB, free: 3.684 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1143, allocations: 4 kB / 0.8486 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1144, allocations: 4 kB / 0.8486 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1144, allocations: 8.781 kB / 0.8486 GB, free: 3.668 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.1146, allocations: 253 kB / 0.8488 GB, free: 3.406 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.1153, allocations: 0.6441 MB / 0.8495 GB, free: 2.73 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.1156, allocations: 277.1 kB / 0.8497 GB, free: 2.441 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1158, allocations: 161 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1158, allocations: 0.625 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.1161, allocations: 368.5 kB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.1161, allocations: 0 / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of matching and sorting (n=35): time 0.001177/0.1173, allocations: 1.138 MB / 0.8514 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.1173, allocations: 218.2 kB / 0.8516 GB, free: 380 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1175, allocations: 257.8 kB / 0.8518 GB, free: 116 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1175, allocations: 38.33 kB / 0.8518 GB, free: 72 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.1176, allocations: 156.8 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.1176, allocations: 119.8 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.1177, allocations: 74.12 kB / 0.8522 GB, free: 15.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.1178, allocations: 347.3 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.118, allocations: 220.4 kB / 0.8527 GB, free: 15.13 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.1182, allocations: 326.9 kB / 0.853 GB, free: 14.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.1185, allocations: 455.3 kB / 0.8535 GB, free: 14.24 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1185, allocations: 0.5938 kB / 0.8535 GB, free: 14.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005053/0.119, allocations: 0.5761 MB / 0.854 GB, free: 13.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.1191, allocations: 93.72 kB / 0.8541 GB, free: 13.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1191, allocations: 4 kB / 0.8541 GB, free: 13.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1191, allocations: 4.625 kB / 0.8541 GB, free: 13.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1193, allocations: 84.33 kB / 0.8542 GB, free: 13.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1193, allocations: 4.594 kB / 0.8542 GB, free: 13.42 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1195, allocations: 28.36 kB / 0.8542 GB, free: 13.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1195, allocations: 16.56 kB / 0.8543 GB, free: 13.38 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.0002201/0.1197, allocations: 238.1 kB / 0.8545 GB, free: 13.13 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1197, allocations: 31.81 kB / 0.8545 GB, free: 13.1 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.1198, allocations: 39.45 kB / 0.8546 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1198, allocations: 4.594 kB / 0.8546 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1198, allocations: 0.5938 kB / 0.8546 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1198, allocations: 3.938 kB / 0.8546 GB, free: 13.05 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009198/0.1207, allocations: 0.8032 MB / 0.8553 GB, free: 12.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1207, allocations: 4 kB / 0.8554 GB, free: 12.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1209, allocations: 61.02 kB / 0.8554 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1209, allocations: 4 kB / 0.8554 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1209, allocations: 8.594 kB / 0.8554 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1209, allocations: 4.625 kB / 0.8554 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1209, allocations: 3.938 kB / 0.8554 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.208/0.3288, allocations: 0.7661 MB / 0.8562 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.329, allocations: 56.53 kB / 0.8562 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.3291, allocations: 15.3 kB / 0.8562 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3292, allocations: 20.27 kB / 0.8563 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.3293, allocations: 30.8 kB / 0.8563 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3293, allocations: 14.47 kB / 0.8563 GB, free: 29.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3295, allocations: 184.1 kB / 0.8565 GB, free: 29.35 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3295, allocations: 0 / 0.8565 GB, free: 29.35 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003715/0.3298, allocations: 88.81 kB / 0.8566 GB, free: 29.35 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.0001008/0.3299, allocations: 121.2 kB / 0.8567 GB, free: 29.26 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.3305, allocations: 0.5887 MB / 0.8573 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3305, allocations: 0 / 0.8573 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.3307, allocations: 318.5 kB / 0.8576 GB, free: 28.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3312, allocations: 92.03 kB / 0.8577 GB, free: 28.73 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3325, allocations: 1.057 MB / 0.8587 GB, free: 28.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3326, allocations: 165.8 kB / 0.8588 GB, free: 28.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.3327, allocations: 30.94 kB / 0.8589 GB, free: 28.18 MB / 490.8 MB Notification: Performance of SimCode: time 4.51e-07/0.3327, allocations: 1.781 kB / 0.8589 GB, free: 28.18 MB / 490.8 MB Notification: Performance of Templates: time 0.005326/0.338, allocations: 4.354 MB / 0.8631 GB, free: 27.8 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_final_model_estimate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.315882003866136]