Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.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.001969/0.001969, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002022/0.002022, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.787/1.787, 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.467/1.467, allocations: 316.7 MB / 0.6144 GB, free: 92.9 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.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15120000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15120000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone") [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.004172/0.004172, allocations: 77.22 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1528, allocations: 73.99 MB / 0.8473 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone): time 0.005418/0.1582, allocations: 3.049 MB / 0.8503 GB, free: 1.895 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1597, allocations: 0.6996 MB / 0.8509 GB, free: 1.203 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1599, allocations: 7.938 kB / 0.8509 GB, free: 1.195 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.16, allocations: 41.06 kB / 0.851 GB, free: 1.156 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1604, allocations: 125.6 kB / 0.8511 GB, free: 1.035 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1606, allocations: 83.84 kB / 0.8512 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.1611, allocations: 414 kB / 0.8516 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1613, allocations: 66.72 kB / 0.8516 GB, free: 492 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1615, allocations: 139.5 kB / 0.8518 GB, free: 352 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.1618, allocations: 147.3 kB / 0.8519 GB, free: 204 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.1619, allocations: 29.12 kB / 0.8519 GB, free: 176 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.1619, allocations: 36 kB / 0.852 GB, free: 140 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.162, allocations: 67.7 kB / 0.852 GB, free: 72 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1622, allocations: 149.2 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.1627, allocations: 354.6 kB / 0.8525 GB, free: 15.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1627, allocations: 0 / 0.8525 GB, free: 15.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1627, allocations: 0 / 0.8525 GB, free: 15.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1627, allocations: 0 / 0.8525 GB, free: 15.58 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.001206/0.1639, allocations: 0.6016 MB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.164, allocations: 16.52 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.164, allocations: 41.14 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.1644, allocations: 229.8 kB / 0.8534 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1644, allocations: 16.81 kB / 0.8534 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.1645, allocations: 36.42 kB / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.1651, allocations: 301.7 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1651, allocations: 0 / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1651, allocations: 8.688 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1652, allocations: 4 kB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.1657, allocations: 253.5 kB / 0.854 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1669, allocations: 0.6558 MB / 0.8546 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.1676, allocations: 267.3 kB / 0.8549 GB, free: 13.01 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1679, allocations: 160.8 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1679, allocations: 9.031 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2806/0.4485, allocations: 366.2 kB / 0.8554 GB, free: 28.54 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.636e-06/0.4485, allocations: 0.5312 kB / 0.8554 GB, free: 28.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.002035/0.4506, allocations: 1.121 MB / 0.8565 GB, free: 28.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.4506, allocations: 220.8 kB / 0.8567 GB, free: 27.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.4509, allocations: 257.1 kB / 0.8569 GB, free: 27.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4509, allocations: 37.36 kB / 0.857 GB, free: 27.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.451, allocations: 152.5 kB / 0.8571 GB, free: 27.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.4511, allocations: 120.9 kB / 0.8572 GB, free: 27.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4512, allocations: 75.7 kB / 0.8573 GB, free: 27.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.4513, allocations: 351.2 kB / 0.8576 GB, free: 27.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.4516, allocations: 218.5 kB / 0.8578 GB, free: 27.06 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.4519, allocations: 329.6 kB / 0.8582 GB, free: 26.83 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.4524, allocations: 448.9 kB / 0.8586 GB, free: 26.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4524, allocations: 1.438 kB / 0.8586 GB, free: 26.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007181/0.4532, allocations: 0.5702 MB / 0.8592 GB, free: 26.33 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.4532, allocations: 92.97 kB / 0.8592 GB, free: 26.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4532, allocations: 6.312 kB / 0.8592 GB, free: 26.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4532, allocations: 4.391 kB / 0.8592 GB, free: 26.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.4535, allocations: 85.69 kB / 0.8593 GB, free: 26.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4535, allocations: 8.812 kB / 0.8593 GB, free: 26.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.4538, allocations: 23.69 kB / 0.8594 GB, free: 26.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.4538, allocations: 16.61 kB / 0.8594 GB, free: 26.23 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.0002169/0.454, allocations: 235.3 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.454, allocations: 28.39 kB / 0.8596 GB, free: 26.04 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.4541, allocations: 38.86 kB / 0.8597 GB, free: 26.02 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4541, allocations: 6.031 kB / 0.8597 GB, free: 26.02 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4541, allocations: 1.469 kB / 0.8597 GB, free: 26.02 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4541, allocations: 3.75 kB / 0.8597 GB, free: 26.02 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.4551, allocations: 0.8166 MB / 0.8605 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4551, allocations: 0.625 kB / 0.8605 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.4554, allocations: 61 kB / 0.8605 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4554, allocations: 2.188 kB / 0.8605 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4554, allocations: 13.2 kB / 0.8605 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4554, allocations: 2.562 kB / 0.8606 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4554, allocations: 0.6875 kB / 0.8606 GB, free: 25.65 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.4564, allocations: 0.7637 MB / 0.8613 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4565, allocations: 59.02 kB / 0.8614 GB, free: 25.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.4565, allocations: 11.16 kB / 0.8614 GB, free: 25.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.4567, allocations: 17.67 kB / 0.8614 GB, free: 25.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4568, allocations: 35.81 kB / 0.8614 GB, free: 25.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.4569, allocations: 15.12 kB / 0.8614 GB, free: 25.28 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001611/0.457, allocations: 184 kB / 0.8616 GB, free: 25.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.457, allocations: 0 / 0.8616 GB, free: 25.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003437/0.4574, allocations: 91.5 kB / 0.8617 GB, free: 25.2 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.0001164/0.4575, allocations: 125.8 kB / 0.8618 GB, free: 25.11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006787/0.4582, allocations: 0.5889 MB / 0.8624 GB, free: 24.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4582, allocations: 0.625 kB / 0.8624 GB, free: 24.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.4585, allocations: 314.9 kB / 0.8627 GB, free: 24.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.459, allocations: 97.53 kB / 0.8628 GB, free: 24.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4607, allocations: 1.033 MB / 0.8638 GB, free: 24.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.4608, allocations: 166.4 kB / 0.8639 GB, free: 23.99 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.461, allocations: 34.55 kB / 0.864 GB, free: 23.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.461, allocations: 29.31 kB / 0.864 GB, free: 23.98 MB / 490.8 MB Notification: Performance of SimCode: time 3.81e-07/0.461, allocations: 4 kB / 0.864 GB, free: 23.98 MB / 490.8 MB Notification: Performance of Templates: time 0.01111/0.4721, allocations: 5.3 MB / 0.8692 GB, free: 23.46 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 27.16539685591124]