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.001373/0.001373, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009646/0.0009646, allocations: 177 kB / 23.36 MB, free: 1.125 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.9615/0.9615, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.621/1.621, allocations: 273.5 MB / 0.5213 GB, free: 14.66 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.934e-06/1.934e-06, allocations: 4 kB / 0.5954 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.911e-05, allocations: 6.25 kB / 0.5954 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002469/0.002488, allocations: 2.275 MB / 0.5976 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.003484, allocations: 0.6039 MB / 0.5982 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003584, allocations: 4 kB / 0.5982 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.003712, allocations: 24.98 kB / 0.5982 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.003899, allocations: 75.12 kB / 0.5983 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.004129, allocations: 61.11 kB / 0.5984 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.004398, allocations: 245.8 kB / 0.5986 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.00452, allocations: 42.58 kB / 0.5986 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.004676, allocations: 131.7 kB / 0.5988 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004834, allocations: 71.8 kB / 0.5988 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.004859, allocations: 20 kB / 0.5989 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.004882, allocations: 16 kB / 0.5989 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.004916, allocations: 39.83 kB / 0.5989 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.004984, allocations: 71.78 kB / 0.599 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.005157, allocations: 147.5 kB / 0.5991 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005159, allocations: 0 / 0.5991 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005159, allocations: 0 / 0.5991 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.005163, allocations: 0 / 0.5991 GB, free: 15.03 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.000541/0.005704, allocations: 463.2 kB / 0.5996 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.005739, allocations: 8.031 kB / 0.5996 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.005787, allocations: 24.92 kB / 0.5996 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.005959, allocations: 154.2 kB / 0.5997 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.005982, allocations: 12.38 kB / 0.5998 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.00601, allocations: 12.38 kB / 0.5998 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.006207, allocations: 178.3 kB / 0.5999 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.006218, allocations: 0 / 0.5999 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.00623, allocations: 8 kB / 0.5999 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.006237, allocations: 4 kB / 0.5999 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.006319, allocations: 75.81 kB / 0.6 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.006755, allocations: 364.7 kB / 0.6004 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.006875, allocations: 100.2 kB / 0.6005 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.006919, allocations: 61.73 kB / 0.6005 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.006928, allocations: 7.75 kB / 0.6005 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.007083, allocations: 188.6 kB / 0.6007 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.007085, allocations: 4 kB / 0.6007 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.000612/0.007697, allocations: 0.5027 MB / 0.6012 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.007752, allocations: 140.5 kB / 0.6013 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.007857, allocations: 180.1 kB / 0.6015 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.007874, allocations: 33.7 kB / 0.6015 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.007919, allocations: 116.4 kB / 0.6017 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.007962, allocations: 79.34 kB / 0.6017 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.008015, allocations: 49.91 kB / 0.6018 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.008099, allocations: 338.7 kB / 0.6021 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.008161, allocations: 101 kB / 0.6022 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.78e-05/0.008249, allocations: 178.8 kB / 0.6024 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.008434, allocations: 302.1 kB / 0.6027 GB, free: 11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.008437, allocations: 11.97 kB / 0.6027 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001956/0.008633, allocations: 263.2 kB / 0.6029 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.008668, allocations: 63.39 kB / 0.603 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008673, allocations: 4 kB / 0.603 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.008685, allocations: 4 kB / 0.603 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.00881, allocations: 55.91 kB / 0.603 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008814, allocations: 8.25 kB / 0.603 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.008893, allocations: 19.98 kB / 0.6031 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.008905, allocations: 8 kB / 0.6031 GB, free: 10.53 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.0001496/0.009055, allocations: 181 kB / 0.6032 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.009079, allocations: 27.66 kB / 0.6033 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.009108, allocations: 21.97 kB / 0.6033 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.00911, allocations: 4 kB / 0.6033 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.009112, allocations: 0 / 0.6033 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.009118, allocations: 3.984 kB / 0.6033 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.009403, allocations: 368.6 kB / 0.6036 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009404, allocations: 0 / 0.6036 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.009508, allocations: 35.92 kB / 0.6037 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.009511, allocations: 4 kB / 0.6037 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.009521, allocations: 4 kB / 0.6037 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.009525, allocations: 11.92 kB / 0.6037 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.009525, allocations: 0 / 0.6037 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.009755, allocations: 340.9 kB / 0.604 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.009775, allocations: 15.91 kB / 0.604 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.0098, allocations: 11.98 kB / 0.6041 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.00987, allocations: 15.88 kB / 0.6041 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.009915, allocations: 23.95 kB / 0.6041 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.009923, allocations: 4 kB / 0.6041 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.009967, allocations: 59.34 kB / 0.6042 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009967, allocations: 0 / 0.6042 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001793/0.01015, allocations: 52 kB / 0.6042 GB, free: 9.285 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 8.362e-05/0.01023, allocations: 95.95 kB / 0.6043 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.01045, allocations: 307.9 kB / 0.6046 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.01045, allocations: 4 kB / 0.6046 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.01054, allocations: 146.3 kB / 0.6047 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.01077, allocations: 65.61 kB / 0.6048 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.01198, allocations: 0.5739 MB / 0.6054 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.01203, allocations: 84.27 kB / 0.6054 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.0121, allocations: 29.69 kB / 0.6055 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.01223, allocations: 107.3 kB / 0.6056 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/0.01223, allocations: 0 / 0.6056 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of Templates: time 0.004905/0.01713, allocations: 3.431 MB / 0.6089 GB, free: 4.52 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 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.697575381025672]