Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.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.0007732/0.0007732, 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.001313/0.001313, allocations: 181 kB / 23.36 MB, free: 1.129 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.95/0.95, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.622/1.622, allocations: 273.5 MB / 0.5213 GB, free: 14.7 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_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 1.312 kB / 0.5954 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.302e-05, allocations: 10.25 kB / 0.5954 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.004183/0.004216, allocations: 2.699 MB / 0.5981 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.005523, allocations: 0.6867 MB / 0.5987 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.005641, allocations: 4 kB / 0.5987 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.005746, allocations: 39.62 kB / 0.5988 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.006006, allocations: 113.3 kB / 0.5989 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.00622, allocations: 75.77 kB / 0.599 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.006596, allocations: 360.9 kB / 0.5993 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.006729, allocations: 58.84 kB / 0.5994 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.006959, allocations: 191.6 kB / 0.5995 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.00717, allocations: 115.7 kB / 0.5997 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.007211, allocations: 24 kB / 0.5997 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-05/0.007253, allocations: 24 kB / 0.5997 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.007307, allocations: 59.69 kB / 0.5998 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.007434, allocations: 111.8 kB / 0.5999 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.007712, allocations: 211.2 kB / 0.6001 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007714, allocations: 0 / 0.6001 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.61e-07/0.007715, allocations: 0 / 0.6001 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.007718, allocations: 0 / 0.6001 GB, free: 14.09 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009773/0.008695, allocations: 0.5561 MB / 0.6006 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.008727, allocations: 12.03 kB / 0.6006 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.008799, allocations: 36.91 kB / 0.6007 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.008998, allocations: 169.4 kB / 0.6008 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.009021, allocations: 12.88 kB / 0.6008 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.009064, allocations: 28.33 kB / 0.6009 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.009368, allocations: 262.6 kB / 0.6011 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.009383, allocations: 3.516 kB / 0.6011 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.009402, allocations: 12 kB / 0.6011 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.009409, allocations: 4 kB / 0.6011 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.009577, allocations: 130.6 kB / 0.6013 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.01038, allocations: 0.5162 MB / 0.6018 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.01057, allocations: 154.1 kB / 0.6019 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.01066, allocations: 104.4 kB / 0.602 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.01067, allocations: 4 kB / 0.602 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.01093, allocations: 311.4 kB / 0.6023 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.01094, allocations: 0 / 0.6023 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001042/0.01198, allocations: 0.797 MB / 0.6031 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.01207, allocations: 221.6 kB / 0.6033 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01225, allocations: 217 kB / 0.6035 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.01227, allocations: 33.7 kB / 0.6035 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.01235, allocations: 132.8 kB / 0.6037 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.01243, allocations: 123 kB / 0.6038 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.01253, allocations: 69.64 kB / 0.6038 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01265, allocations: 346.8 kB / 0.6042 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.01277, allocations: 143 kB / 0.6043 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01294, allocations: 255.2 kB / 0.6046 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.01333, allocations: 478.5 kB / 0.605 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01334, allocations: 4 kB / 0.605 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003844/0.01372, allocations: 392.1 kB / 0.6054 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.01377, allocations: 93.09 kB / 0.6055 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01378, allocations: 0 / 0.6055 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.0138, allocations: 8.375 kB / 0.6055 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.01405, allocations: 87.89 kB / 0.6056 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01405, allocations: 4 kB / 0.6056 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.01422, allocations: 23.98 kB / 0.6056 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.01424, allocations: 16 kB / 0.6056 GB, free: 7.797 MB / 0.5261 GB Warning: Assuming fixed start value for the following 10 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 peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) 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 peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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.0002155/0.01445, allocations: 234.7 kB / 0.6058 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.0145, allocations: 31.98 kB / 0.6059 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.01454, allocations: 30.95 kB / 0.6059 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01455, allocations: 4 kB / 0.6059 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01455, allocations: 7.875 kB / 0.6059 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01456, allocations: 3.984 kB / 0.6059 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.01514, allocations: 0.5186 MB / 0.6064 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01514, allocations: 0 / 0.6064 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.01535, allocations: 51.91 kB / 0.6065 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01535, allocations: 0 / 0.6065 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.01537, allocations: 12 kB / 0.6065 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01537, allocations: 0 / 0.6065 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.01538, allocations: 4 kB / 0.6065 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.01611, allocations: 0.5256 MB / 0.607 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.01615, allocations: 15.86 kB / 0.607 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.01619, allocations: 12 kB / 0.607 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.01634, allocations: 19.92 kB / 0.607 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.0164, allocations: 23.95 kB / 0.6071 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.01642, allocations: 12 kB / 0.6071 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.727e-05/0.0165, allocations: 70.78 kB / 0.6071 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.0165, allocations: 0 / 0.6071 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003587/0.01686, allocations: 87.98 kB / 0.6072 GB, free: 6.027 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001191/0.01698, allocations: 96.36 kB / 0.6073 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.01738, allocations: 478 kB / 0.6078 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01738, allocations: 4 kB / 0.6078 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.01758, allocations: 262.9 kB / 0.608 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.01801, allocations: 96.98 kB / 0.6081 GB, free: 5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.01967, allocations: 0.7529 MB / 0.6089 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.01972, allocations: 93.12 kB / 0.6089 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.611e-05/0.01981, allocations: 34.72 kB / 0.609 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.01998, allocations: 143.3 kB / 0.6091 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of SimCode: time 7.32e-07/0.01998, allocations: 0 / 0.6091 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.3547/0.3746, allocations: 4.669 MB / 0.6137 GB, free: 53.71 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6662904671393335]