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.000976/0.000976, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001024/0.001024, allocations: 177 kB / 23.36 MB, free: 1.137 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.638/1.638, allocations: 273.5 MB / 0.5213 GB, free: 14.61 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 1.283e-06/1.283e-06, allocations: 0 / 0.5954 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.6e-05, allocations: 6.25 kB / 0.5955 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002814/0.00283, allocations: 2.315 MB / 0.5977 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.003758, allocations: 0.6075 MB / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.003834, allocations: 1.203 kB / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003936, allocations: 27.78 kB / 0.5983 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.004083, allocations: 76.42 kB / 0.5984 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.004247, allocations: 55.81 kB / 0.5985 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.004467, allocations: 245.8 kB / 0.5987 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004572, allocations: 46.56 kB / 0.5987 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.004702, allocations: 123.7 kB / 0.5989 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.004858, allocations: 87.77 kB / 0.5989 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.004883, allocations: 16 kB / 0.599 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.004903, allocations: 16 kB / 0.599 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.00493, allocations: 27.86 kB / 0.599 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.004992, allocations: 79.77 kB / 0.5991 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.005144, allocations: 143.4 kB / 0.5992 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005146, allocations: 0 / 0.5992 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005146, allocations: 0 / 0.5992 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.005151, allocations: 0 / 0.5992 GB, free: 14.9 MB / 0.5261 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.0004362/0.005587, allocations: 459.3 kB / 0.5996 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.005615, allocations: 8.031 kB / 0.5997 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.005655, allocations: 24.92 kB / 0.5997 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.005793, allocations: 158.2 kB / 0.5998 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.005808, allocations: 12.38 kB / 0.5998 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.00583, allocations: 12.38 kB / 0.5999 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.005996, allocations: 178.3 kB / 0.6 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.006006, allocations: 0 / 0.6 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006016, allocations: 12 kB / 0.6 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.006022, allocations: 4 kB / 0.6 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.006101, allocations: 75.81 kB / 0.6001 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.006481, allocations: 364.7 kB / 0.6005 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.006585, allocations: 100.2 kB / 0.6006 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.006626, allocations: 58.55 kB / 0.6006 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.006634, allocations: 0 / 0.6006 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.006773, allocations: 200.6 kB / 0.6008 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 9.72e-07/0.006774, allocations: 0 / 0.6008 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.0005373/0.007312, allocations: 0.5122 MB / 0.6013 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.007355, allocations: 132.5 kB / 0.6014 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.007458, allocations: 184.1 kB / 0.6016 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.007476, allocations: 41.62 kB / 0.6016 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.007519, allocations: 112.4 kB / 0.6017 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.007556, allocations: 79.34 kB / 0.6018 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.007609, allocations: 57.91 kB / 0.6019 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.00768, allocations: 334.8 kB / 0.6022 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.007739, allocations: 92.95 kB / 0.6023 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.543e-05/0.007824, allocations: 182.8 kB / 0.6025 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.007996, allocations: 302.2 kB / 0.6028 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007999, allocations: 3.938 kB / 0.6028 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001831/0.008182, allocations: 266.4 kB / 0.603 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.008214, allocations: 63.41 kB / 0.6031 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.008221, allocations: 7.984 kB / 0.6031 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.008234, allocations: 4 kB / 0.6031 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.008392, allocations: 64.16 kB / 0.6031 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008396, allocations: 7.938 kB / 0.6031 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.008475, allocations: 15.98 kB / 0.6032 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.008488, allocations: 12 kB / 0.6032 GB, free: 10.39 MB / 0.5261 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.0001265/0.008614, allocations: 184.4 kB / 0.6034 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.008635, allocations: 19.98 kB / 0.6034 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.008664, allocations: 21.97 kB / 0.6034 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.008667, allocations: 4 kB / 0.6034 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.00867, allocations: 3.984 kB / 0.6034 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008673, allocations: 0 / 0.6034 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.009208, allocations: 369.7 kB / 0.6038 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009209, allocations: 0 / 0.6038 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.00933, allocations: 47.91 kB / 0.6038 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009331, allocations: 0 / 0.6038 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.009344, allocations: 11.94 kB / 0.6038 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.009346, allocations: 3.984 kB / 0.6038 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009347, allocations: 0 / 0.6038 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.00956, allocations: 355.4 kB / 0.6042 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.009585, allocations: 11.91 kB / 0.6042 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.009609, allocations: 11.98 kB / 0.6042 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.009681, allocations: 12 kB / 0.6042 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.009728, allocations: 23.95 kB / 0.6042 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.009736, allocations: 4 kB / 0.6042 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.009779, allocations: 55.34 kB / 0.6043 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.009779, allocations: 0 / 0.6043 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001725/0.009952, allocations: 56 kB / 0.6043 GB, free: 9.133 MB / 0.5261 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 6.652e-05/0.01002, allocations: 91.36 kB / 0.6044 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.01022, allocations: 309.8 kB / 0.6047 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.01022, allocations: 4.062 kB / 0.6047 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.01032, allocations: 149.8 kB / 0.6048 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01054, allocations: 63.89 kB / 0.6049 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.01171, allocations: 0.5788 MB / 0.6055 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.273e-05/0.01175, allocations: 76.33 kB / 0.6055 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.675e-05/0.01182, allocations: 25.94 kB / 0.6056 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.01195, allocations: 111.3 kB / 0.6057 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.01195, allocations: 0 / 0.6057 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of Templates: time 0.004487/0.01644, allocations: 3.468 MB / 0.6091 GB, free: 4.328 MB / 0.5261 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.722738791722804]