Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.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.001793/0.001793, 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.002013/0.002013, allocations: 213.9 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.613 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.483/1.483, allocations: 316.8 MB / 0.6144 GB, free: 93.12 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_bootstrapa_median,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median") [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.003977/0.003977, allocations: 73.92 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1802, allocations: 73.99 MB / 0.8473 GB, free: 4.918 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median): time 0.005613/0.1858, allocations: 3.032 MB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1874, allocations: 0.7051 MB / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1875, allocations: 0 / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.1877, allocations: 39.58 kB / 0.851 GB, free: 1.148 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.1881, allocations: 123 kB / 0.8511 GB, free: 1.027 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1884, allocations: 84.47 kB / 0.8512 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.1889, allocations: 414.6 kB / 0.8516 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.1891, allocations: 71.14 kB / 0.8516 GB, free: 480 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1893, allocations: 148.2 kB / 0.8518 GB, free: 332 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.1897, allocations: 143.3 kB / 0.8519 GB, free: 188 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.1897, allocations: 32.66 kB / 0.8519 GB, free: 156 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.1898, allocations: 32.62 kB / 0.852 GB, free: 124 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.1899, allocations: 63.72 kB / 0.852 GB, free: 60 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.1901, allocations: 151.9 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.1906, allocations: 354.7 kB / 0.8525 GB, free: 15.56 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1906, allocations: 4.594 kB / 0.8525 GB, free: 15.56 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1906, allocations: 0.625 kB / 0.8525 GB, free: 15.56 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1906, allocations: 0 / 0.8525 GB, free: 15.56 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.001221/0.1918, allocations: 0.6015 MB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1919, allocations: 8.656 kB / 0.8531 GB, free: 14.9 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.192, allocations: 40.7 kB / 0.8531 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1923, allocations: 225.7 kB / 0.8534 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1924, allocations: 17.44 kB / 0.8534 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.1924, allocations: 31.88 kB / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.1931, allocations: 313.8 kB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1931, allocations: 0.7188 kB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1931, allocations: 8 kB / 0.8537 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1931, allocations: 4.719 kB / 0.8537 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.1937, allocations: 245 kB / 0.854 GB, free: 13.97 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1949, allocations: 0.6481 MB / 0.8546 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.1959, allocations: 267.3 kB / 0.8548 GB, free: 13.01 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1962, allocations: 164.5 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1962, allocations: 4.5 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3503/0.5465, allocations: 372.8 kB / 0.8554 GB, free: 25.14 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 4.458e-06/0.5465, allocations: 0.9375 kB / 0.8554 GB, free: 25.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.002163/0.5487, allocations: 1.132 MB / 0.8565 GB, free: 24.64 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.5487, allocations: 219.6 kB / 0.8567 GB, free: 24.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.549, allocations: 251.3 kB / 0.8569 GB, free: 24.29 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.549, allocations: 39.8 kB / 0.8569 GB, free: 24.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.5491, allocations: 157.6 kB / 0.8571 GB, free: 24.16 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.5492, allocations: 117.5 kB / 0.8572 GB, free: 24.1 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.5493, allocations: 70.81 kB / 0.8573 GB, free: 24.08 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.5494, allocations: 349.7 kB / 0.8576 GB, free: 23.77 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.5497, allocations: 217.8 kB / 0.8578 GB, free: 23.66 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.55, allocations: 333.5 kB / 0.8581 GB, free: 23.43 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.5506, allocations: 448.9 kB / 0.8586 GB, free: 23.17 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5506, allocations: 0.8438 kB / 0.8586 GB, free: 23.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008399/0.5514, allocations: 0.5793 MB / 0.8591 GB, free: 22.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.5515, allocations: 89.59 kB / 0.8592 GB, free: 22.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5515, allocations: 7.312 kB / 0.8592 GB, free: 22.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.5515, allocations: 6.062 kB / 0.8592 GB, free: 22.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.5518, allocations: 80.38 kB / 0.8593 GB, free: 22.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5518, allocations: 5.188 kB / 0.8593 GB, free: 22.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.5521, allocations: 23.7 kB / 0.8593 GB, free: 22.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.5521, allocations: 14.81 kB / 0.8594 GB, free: 22.84 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.0002963/0.5524, allocations: 247 kB / 0.8596 GB, free: 22.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.5524, allocations: 27.02 kB / 0.8596 GB, free: 22.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.5525, allocations: 35.12 kB / 0.8596 GB, free: 22.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5525, allocations: 5.359 kB / 0.8596 GB, free: 22.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5525, allocations: 0.625 kB / 0.8597 GB, free: 22.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5525, allocations: 3.703 kB / 0.8597 GB, free: 22.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.5536, allocations: 0.8217 MB / 0.8605 GB, free: 22.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5536, allocations: 0 / 0.8605 GB, free: 22.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.5539, allocations: 59.55 kB / 0.8605 GB, free: 22.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5539, allocations: 2.062 kB / 0.8605 GB, free: 22.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.554, allocations: 15.75 kB / 0.8605 GB, free: 22.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.554, allocations: 0.625 kB / 0.8605 GB, free: 22.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.554, allocations: 3.938 kB / 0.8605 GB, free: 22.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.5549, allocations: 0.7609 MB / 0.8613 GB, free: 21.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.555, allocations: 56.41 kB / 0.8613 GB, free: 21.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.5551, allocations: 11.12 kB / 0.8613 GB, free: 21.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5553, allocations: 25.19 kB / 0.8614 GB, free: 21.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.5554, allocations: 34.28 kB / 0.8614 GB, free: 21.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.5554, allocations: 14.75 kB / 0.8614 GB, free: 21.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001575/0.5556, allocations: 184.5 kB / 0.8616 GB, free: 21.82 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5556, allocations: 0 / 0.8616 GB, free: 21.82 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003536/0.5559, allocations: 89.22 kB / 0.8617 GB, free: 21.82 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.0001384/0.5561, allocations: 124.3 kB / 0.8618 GB, free: 21.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.5568, allocations: 0.5932 MB / 0.8624 GB, free: 21.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5568, allocations: 1.25 kB / 0.8624 GB, free: 21.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.5571, allocations: 317 kB / 0.8627 GB, free: 21.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.5577, allocations: 92.95 kB / 0.8628 GB, free: 21.19 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.5593, allocations: 1.034 MB / 0.8638 GB, free: 20.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.5595, allocations: 163 kB / 0.8639 GB, free: 20.59 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.5596, allocations: 40.75 kB / 0.864 GB, free: 20.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.5597, allocations: 31.48 kB / 0.864 GB, free: 20.58 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.5597, allocations: 0 / 0.864 GB, free: 20.58 MB / 490.8 MB Notification: Performance of Templates: time 0.01157/0.5713, allocations: 5.29 MB / 0.8692 GB, free: 20.07 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Bi2018_bootstrapa_median.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.807364800013602]