Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.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.002355/0.002355, allocations: 85.48 kB / 19.44 MB, free: 344 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.00267/0.00267, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 3.404/3.404, allocations: 274.5 MB / 0.5215 GB, free: 14.16 MB / 458.7 MB " [Timeout remaining time 176] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.978e-06/3.978e-06, allocations: 5.016 kB / 0.6472 GB, free: 38.96 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/4.181e-05, allocations: 5.094 kB / 0.6472 GB, free: 38.96 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModel): time 0.003451/0.003493, allocations: 2.364 MB / 0.6495 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.004457, allocations: 0.6135 MB / 0.6501 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.004554, allocations: 2.938 kB / 0.6501 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.004615, allocations: 27.97 kB / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.004847, allocations: 79.5 kB / 0.6502 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.005031, allocations: 65.3 kB / 0.6503 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.005305, allocations: 300.7 kB / 0.6506 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.005449, allocations: 54.5 kB / 0.6506 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.005643, allocations: 155.7 kB / 0.6508 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.005798, allocations: 89.86 kB / 0.6509 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.005842, allocations: 23.06 kB / 0.6509 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.612e-05/0.005888, allocations: 24.38 kB / 0.6509 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.005934, allocations: 49.09 kB / 0.651 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.006036, allocations: 84.75 kB / 0.651 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.006319, allocations: 248.7 kB / 0.6513 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006321, allocations: 1.25 kB / 0.6513 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006322, allocations: 0 / 0.6513 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.006327, allocations: 0 / 0.6513 GB, free: 36.48 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008048/0.007132, allocations: 0.6311 MB / 0.6519 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.007171, allocations: 10.53 kB / 0.6519 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.007259, allocations: 38.05 kB / 0.6519 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.007385, allocations: 153.5 kB / 0.6521 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.007408, allocations: 19.34 kB / 0.6521 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.007452, allocations: 25.73 kB / 0.6521 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.007806, allocations: 238.3 kB / 0.6524 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.007825, allocations: 3.625 kB / 0.6524 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.007846, allocations: 5.781 kB / 0.6524 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.007854, allocations: 3.969 kB / 0.6524 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.008227, allocations: 208.2 kB / 0.6526 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.009044, allocations: 0.5539 MB / 0.6531 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.009427, allocations: 247 kB / 0.6533 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.00961, allocations: 142.9 kB / 0.6535 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.009634, allocations: 4.688 kB / 0.6535 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.009992, allocations: 357.2 kB / 0.6538 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.009994, allocations: 4.828 kB / 0.6538 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=33): time 0.00173/0.01172, allocations: 1.045 MB / 0.6548 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.01179, allocations: 224.2 kB / 0.6551 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01194, allocations: 240.1 kB / 0.6553 GB, free: 33.4 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.01198, allocations: 34.05 kB / 0.6553 GB, free: 33.36 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.01204, allocations: 177.6 kB / 0.6555 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.01211, allocations: 119.5 kB / 0.6556 GB, free: 33.11 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.01224, allocations: 79.66 kB / 0.6557 GB, free: 33.06 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.01233, allocations: 0.5148 MB / 0.6562 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.01261, allocations: 201.1 kB / 0.6564 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.01292, allocations: 316.6 kB / 0.6567 GB, free: 32.12 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.01367, allocations: 0.5973 MB / 0.6573 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01368, allocations: 5 kB / 0.6573 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006679/0.01434, allocations: 0.5282 MB / 0.6578 GB, free: 31.29 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.01439, allocations: 87.11 kB / 0.6579 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01439, allocations: 2.812 kB / 0.6579 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.01441, allocations: 4.188 kB / 0.6579 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.0147, allocations: 80.88 kB / 0.6579 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.01471, allocations: 8.156 kB / 0.658 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.01488, allocations: 13.78 kB / 0.658 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.01491, allocations: 20.75 kB / 0.658 GB, free: 31.18 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real intestine.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real blood.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real intestine.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real intestine.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real blood.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real blood.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real blood.rising:DISCRETE(fixed = true protected = true ) type: Boolean intestine.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.intestine.Cmin,intestine.Cmin,$PRE.intestine.Cmax,intestine.Cmax,$PRE.blood.Cmin,blood.Cmin,$PRE.blood.Cmax,blood.Cmax,$PRE.blood.rising,$PRE.intestine.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,blood.rising,intestine.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$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 (45): * Single equations (assignments): 42 * 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.0002393/0.01515, allocations: 285.8 kB / 0.6583 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.0152, allocations: 40 kB / 0.6583 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.01526, allocations: 24.97 kB / 0.6583 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01527, allocations: 2.844 kB / 0.6583 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.01527, allocations: 0 / 0.6583 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01528, allocations: 3.516 kB / 0.6583 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00093/0.01621, allocations: 0.8132 MB / 0.6591 GB, free: 30.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01621, allocations: 0 / 0.6591 GB, free: 30.32 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.01645, allocations: 56.05 kB / 0.6592 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.01645, allocations: 4.562 kB / 0.6592 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.01648, allocations: 8.312 kB / 0.6592 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01648, allocations: 1.375 kB / 0.6592 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01648, allocations: 1.375 kB / 0.6592 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.01733, allocations: 0.7751 MB / 0.6599 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.01736, allocations: 13.53 kB / 0.66 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.0174, allocations: 16.75 kB / 0.66 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.01756, allocations: 18.59 kB / 0.66 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.01764, allocations: 31.23 kB / 0.66 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.01767, allocations: 7 kB / 0.66 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 9.502e-05/0.01776, allocations: 171.7 kB / 0.6602 GB, free: 29.63 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.01776, allocations: 5.344 kB / 0.6602 GB, free: 29.63 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003247/0.01809, allocations: 78.36 kB / 0.6603 GB, free: 29.62 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass,intestine.C,intestine.AUC,blood.C,blood.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,periodicDose.pulse.T_start,periodicDose.pulse.count,intestine.Cmax,intestine.Cmin,intestine.rising,blood.Cmax,blood.Cmin,blood.rising) * Number of discrete states: 11 (periodicDose.pulse.count,blood.Cmin,$whenCondition3,blood.Cmax,$whenCondition2,blood.rising,intestine.Cmin,$whenCondition5,intestine.Cmax,$whenCondition4,intestine.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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.0001107/0.0182, allocations: 116.6 kB / 0.6604 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.01883, allocations: 0.5807 MB / 0.661 GB, free: 29.09 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01884, allocations: 0 / 0.661 GB, free: 29.09 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.01912, allocations: 320 kB / 0.6613 GB, free: 28.85 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.01955, allocations: 64 kB / 0.6613 GB, free: 28.83 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.02072, allocations: 0.7283 MB / 0.662 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02083, allocations: 136.2 kB / 0.6622 GB, free: 28.27 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 9.591e-05/0.02092, allocations: 22.31 kB / 0.6622 GB, free: 28.27 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.02099, allocations: 25.83 kB / 0.6622 GB, free: 28.26 MB / 0.5262 GB Notification: Performance of SimCode: time 5.51e-07/0.02099, allocations: 0 / 0.6622 GB, free: 28.26 MB / 0.5262 GB Notification: Performance of Templates: time 0.007419/0.02841, allocations: 3.429 MB / 0.6656 GB, free: 27.95 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.347083353903145]