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.001488/0.001488, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001928/0.001928, allocations: 173 kB / 23.49 MB, free: 1.059 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.9766/0.9766, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.573/1.573, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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.184e-06/2.184e-06, allocations: 0 / 0.6462 GB, free: 39.02 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.785e-05, allocations: 2.312 kB / 0.6462 GB, free: 39.02 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002922/0.00294, allocations: 2.269 MB / 0.6484 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003989, allocations: 0.6101 MB / 0.649 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.004099, allocations: 3 kB / 0.649 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.004226, allocations: 24.19 kB / 0.649 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.004418, allocations: 70.94 kB / 0.6491 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.004643, allocations: 52.83 kB / 0.6492 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.004928, allocations: 250.5 kB / 0.6494 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.005059, allocations: 41.48 kB / 0.6494 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.005236, allocations: 124.5 kB / 0.6495 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.005441, allocations: 85.11 kB / 0.6496 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.005478, allocations: 16.16 kB / 0.6496 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.269e-05/0.00551, allocations: 19.53 kB / 0.6497 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.005544, allocations: 34.95 kB / 0.6497 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.517e-05/0.005639, allocations: 77.7 kB / 0.6498 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.00586, allocations: 139.2 kB / 0.6499 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005862, allocations: 3.375 kB / 0.6499 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005863, allocations: 0 / 0.6499 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.005869, allocations: 3.938 kB / 0.6499 GB, free: 36.75 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.0006653/0.006534, allocations: 0.5678 MB / 0.6505 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.006577, allocations: 10.5 kB / 0.6505 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.006657, allocations: 32.27 kB / 0.6505 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.006877, allocations: 176.9 kB / 0.6507 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.006897, allocations: 11.72 kB / 0.6507 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.006934, allocations: 15.69 kB / 0.6507 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.007228, allocations: 186.5 kB / 0.6509 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.007245, allocations: 7.219 kB / 0.6509 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.007262, allocations: 4 kB / 0.6509 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.007271, allocations: 3.406 kB / 0.6509 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.007421, allocations: 88.11 kB / 0.651 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.008079, allocations: 0.5596 MB / 0.6515 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.008282, allocations: 121.2 kB / 0.6516 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.008365, allocations: 67.61 kB / 0.6517 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.008378, allocations: 3.625 kB / 0.6517 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.008587, allocations: 205.3 kB / 0.6519 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.008589, allocations: 0 / 0.6519 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0009945/0.009583, allocations: 0.6001 MB / 0.6525 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.009632, allocations: 140 kB / 0.6526 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.0098, allocations: 248.3 kB / 0.6529 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.009822, allocations: 31.92 kB / 0.6529 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.009883, allocations: 175.7 kB / 0.6531 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.009932, allocations: 72.34 kB / 0.6531 GB, free: 34.05 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.01003, allocations: 62.16 kB / 0.6532 GB, free: 34 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.01008, allocations: 0.5044 MB / 0.6537 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.01017, allocations: 111.8 kB / 0.6538 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.01027, allocations: 211.9 kB / 0.654 GB, free: 33.19 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.01048, allocations: 341.7 kB / 0.6543 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01049, allocations: 0 / 0.6543 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002734/0.01076, allocations: 342.4 kB / 0.6546 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.01079, allocations: 67.94 kB / 0.6547 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01079, allocations: 2.219 kB / 0.6547 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01081, allocations: 2.062 kB / 0.6547 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01097, allocations: 54.8 kB / 0.6548 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01098, allocations: 4.469 kB / 0.6548 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.01107, allocations: 21.95 kB / 0.6548 GB, free: 32.58 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01108, allocations: 13.97 kB / 0.6548 GB, free: 32.58 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.000137/0.01122, allocations: 220.4 kB / 0.655 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.01125, allocations: 31.67 kB / 0.655 GB, free: 32.36 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.01128, allocations: 22.31 kB / 0.6551 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01128, allocations: 3.844 kB / 0.6551 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.01129, allocations: 3.469 kB / 0.6551 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01129, allocations: 0 / 0.6551 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.01166, allocations: 0.5391 MB / 0.6556 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01166, allocations: 1.938 kB / 0.6556 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.01177, allocations: 33.3 kB / 0.6556 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01178, allocations: 2.156 kB / 0.6556 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01179, allocations: 11.81 kB / 0.6556 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01179, allocations: 3.938 kB / 0.6556 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01179, allocations: 0 / 0.6556 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.01209, allocations: 471.4 kB / 0.6561 GB, free: 31.57 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01211, allocations: 22.88 kB / 0.6561 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01213, allocations: 7.469 kB / 0.6561 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-05/0.01221, allocations: 15.53 kB / 0.6561 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.01226, allocations: 24.03 kB / 0.6562 GB, free: 31.54 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01227, allocations: 3.719 kB / 0.6562 GB, free: 31.54 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.01234, allocations: 177.5 kB / 0.6563 GB, free: 31.41 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.01234, allocations: 0 / 0.6563 GB, free: 31.41 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001976/0.01254, allocations: 59.12 kB / 0.6564 GB, free: 31.41 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 7.28e-05/0.01261, allocations: 111.1 kB / 0.6565 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.01287, allocations: 328.2 kB / 0.6568 GB, free: 31.05 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01287, allocations: 2.406 kB / 0.6568 GB, free: 31.05 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01298, allocations: 161.8 kB / 0.657 GB, free: 30.93 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.01326, allocations: 75.31 kB / 0.657 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.01467, allocations: 0.6828 MB / 0.6577 GB, free: 30.47 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.01474, allocations: 128.1 kB / 0.6578 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.0148, allocations: 25.66 kB / 0.6579 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of SimCode: time 8.52e-07/0.0148, allocations: 0.5625 kB / 0.6579 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of Templates: time 0.003467/0.01827, allocations: 2.812 MB / 0.6606 GB, free: 30.16 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.226715729106218]