Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.001347/0.001347, allocations: 93.06 kB / 19.65 MB, free: 276 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.001452/0.001452, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9244/0.9244, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.552/1.552, allocations: 273.5 MB / 0.5209 GB, free: 14.74 MB / 458.7 MB " [Timeout remaining time 178] 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.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 1.312 kB / 0.647 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.67e-05, allocations: 2.312 kB / 0.647 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002282/0.002308, allocations: 2.266 MB / 0.6492 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.00302, allocations: 0.6094 MB / 0.6498 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.003092, allocations: 2.375 kB / 0.6498 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.0032, allocations: 27.33 kB / 0.6498 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.003348, allocations: 74.5 kB / 0.6499 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.003541, allocations: 56.98 kB / 0.6499 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.003761, allocations: 250.1 kB / 0.6502 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.003881, allocations: 29.27 kB / 0.6502 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.004003, allocations: 134.1 kB / 0.6503 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.004172, allocations: 77.16 kB / 0.6504 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.0042, allocations: 18.38 kB / 0.6504 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.004225, allocations: 17.62 kB / 0.6504 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.004253, allocations: 37.88 kB / 0.6505 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.004319, allocations: 79 kB / 0.6505 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.004493, allocations: 138.2 kB / 0.6507 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.004497, allocations: 0.9688 kB / 0.6507 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004498, allocations: 0 / 0.6507 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.004503, allocations: 0 / 0.6507 GB, free: 36.21 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005596/0.005063, allocations: 0.5734 MB / 0.6512 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005101, allocations: 10.09 kB / 0.6512 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.005167, allocations: 37.98 kB / 0.6513 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.005331, allocations: 182 kB / 0.6515 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.005357, allocations: 10.12 kB / 0.6515 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.005385, allocations: 17 kB / 0.6515 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.005604, allocations: 186.8 kB / 0.6517 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.005617, allocations: 1.906 kB / 0.6517 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.005631, allocations: 5.375 kB / 0.6517 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.005638, allocations: 3.844 kB / 0.6517 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.005743, allocations: 89.42 kB / 0.6518 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.006242, allocations: 0.5583 MB / 0.6523 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.006393, allocations: 122.4 kB / 0.6524 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.00645, allocations: 63.52 kB / 0.6525 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.00646, allocations: 3.812 kB / 0.6525 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.006625, allocations: 199.4 kB / 0.6527 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.006627, allocations: 0 / 0.6527 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0007081/0.007335, allocations: 0.5997 MB / 0.6533 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.007376, allocations: 144.3 kB / 0.6534 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.007491, allocations: 242.4 kB / 0.6536 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007505, allocations: 37.67 kB / 0.6537 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.007556, allocations: 174.5 kB / 0.6538 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.007589, allocations: 71.97 kB / 0.6539 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.007642, allocations: 56.88 kB / 0.6539 GB, free: 33.47 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.007696, allocations: 0.5089 MB / 0.6544 GB, free: 32.96 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.00777, allocations: 109.6 kB / 0.6545 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.007865, allocations: 214.6 kB / 0.6548 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.008065, allocations: 346.5 kB / 0.6551 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008068, allocations: 2.344 kB / 0.6551 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002679/0.008336, allocations: 335.6 kB / 0.6554 GB, free: 32.12 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.008368, allocations: 63.27 kB / 0.6555 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.008375, allocations: 1.469 kB / 0.6555 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.00839, allocations: 4.906 kB / 0.6555 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.008574, allocations: 57.22 kB / 0.6555 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.008582, allocations: 5.312 kB / 0.6555 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.00867, allocations: 18.09 kB / 0.6555 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.008684, allocations: 11.53 kB / 0.6556 GB, free: 32.05 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real 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 central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.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: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * 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.0001439/0.008828, allocations: 231.5 kB / 0.6558 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.008855, allocations: 27.92 kB / 0.6558 GB, free: 31.82 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.008886, allocations: 23.72 kB / 0.6558 GB, free: 31.81 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008889, allocations: 0 / 0.6558 GB, free: 31.81 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.008895, allocations: 9.328 kB / 0.6558 GB, free: 31.81 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.008899, allocations: 0 / 0.6558 GB, free: 31.81 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.009302, allocations: 0.5327 MB / 0.6564 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009304, allocations: 0 / 0.6564 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.009418, allocations: 35.69 kB / 0.6564 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.009421, allocations: 5.406 kB / 0.6564 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.009435, allocations: 9.656 kB / 0.6564 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009438, allocations: 2.219 kB / 0.6564 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.009439, allocations: 0 / 0.6564 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.009783, allocations: 478 kB / 0.6569 GB, free: 31.03 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.009805, allocations: 17.88 kB / 0.6569 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.009835, allocations: 14.53 kB / 0.6569 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.009918, allocations: 6.719 kB / 0.6569 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.009981, allocations: 23.34 kB / 0.6569 GB, free: 31.01 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.009995, allocations: 7.281 kB / 0.6569 GB, free: 31.01 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.541e-05/0.01008, allocations: 175.6 kB / 0.6571 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.01008, allocations: 0.5625 kB / 0.6571 GB, free: 30.88 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002295/0.01031, allocations: 55.44 kB / 0.6572 GB, free: 30.88 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001014/0.01041, allocations: 110.2 kB / 0.6573 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.01074, allocations: 334.1 kB / 0.6576 GB, free: 30.52 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01074, allocations: 0.5625 kB / 0.6576 GB, free: 30.52 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01087, allocations: 156 kB / 0.6577 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01121, allocations: 69.08 kB / 0.6578 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.01262, allocations: 0.657 MB / 0.6584 GB, free: 29.97 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.01266, allocations: 87.62 kB / 0.6585 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 6.609e-05/0.01272, allocations: 21.83 kB / 0.6585 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.01277, allocations: 23.45 kB / 0.6586 GB, free: 29.88 MB / 0.5262 GB Notification: Performance of SimCode: time 9.12e-07/0.01277, allocations: 1.438 kB / 0.6586 GB, free: 29.88 MB / 0.5262 GB Notification: Performance of Templates: time 0.005164/0.01794, allocations: 3.382 MB / 0.6619 GB, free: 29.59 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.623482502065599]