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.0009525/0.0009525, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001131/0.001131, allocations: 181 kB / 23.36 MB, free: 1.133 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.628/1.628, allocations: 273.5 MB / 0.5212 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_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 1.623e-06/1.623e-06, allocations: 0 / 0.5955 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.477e-05, allocations: 2.312 kB / 0.5955 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.00648/0.006504, allocations: 2.74 MB / 0.5982 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.01068, allocations: 0.6868 MB / 0.5988 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.0108, allocations: 0 / 0.5988 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.01094, allocations: 39.64 kB / 0.5989 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.01117, allocations: 113.3 kB / 0.599 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.0114, allocations: 79.77 kB / 0.5991 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.01176, allocations: 363.2 kB / 0.5994 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.01191, allocations: 58.84 kB / 0.5995 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.01213, allocations: 187.6 kB / 0.5996 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.01235, allocations: 111.6 kB / 0.5997 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.01239, allocations: 27.98 kB / 0.5998 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.01243, allocations: 24 kB / 0.5998 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.01248, allocations: 55.75 kB / 0.5998 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.01258, allocations: 111.8 kB / 0.5999 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.01283, allocations: 211.2 kB / 0.6002 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01283, allocations: 4 kB / 0.6002 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01283, allocations: 0 / 0.6002 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.01284, allocations: 0 / 0.6002 GB, free: 13.95 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.003709/0.01655, allocations: 0.5561 MB / 0.6007 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.01658, allocations: 12.03 kB / 0.6007 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.01665, allocations: 40.91 kB / 0.6007 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.01685, allocations: 168.8 kB / 0.6009 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01687, allocations: 16.88 kB / 0.6009 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.01691, allocations: 24.33 kB / 0.6009 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.01718, allocations: 254.6 kB / 0.6012 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.0172, allocations: 3.984 kB / 0.6012 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.01721, allocations: 8 kB / 0.6012 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.01722, allocations: 4 kB / 0.6012 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.01738, allocations: 138.6 kB / 0.6013 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.0181, allocations: 0.5201 MB / 0.6018 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.01828, allocations: 154.8 kB / 0.602 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.01836, allocations: 96.42 kB / 0.6021 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01837, allocations: 7.938 kB / 0.6021 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.01864, allocations: 322.2 kB / 0.6024 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.01864, allocations: 4 kB / 0.6024 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.003985/0.02262, allocations: 0.7892 MB / 0.6032 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.0227, allocations: 217.6 kB / 0.6034 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.02286, allocations: 221 kB / 0.6036 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.02288, allocations: 33.7 kB / 0.6036 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.02295, allocations: 136.8 kB / 0.6038 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.02303, allocations: 127 kB / 0.6039 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.02312, allocations: 65.67 kB / 0.6039 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.02322, allocations: 342.7 kB / 0.6043 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.02333, allocations: 139 kB / 0.6044 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.02348, allocations: 259.2 kB / 0.6046 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.02383, allocations: 478.6 kB / 0.6051 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02383, allocations: 0 / 0.6051 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003424/0.02417, allocations: 392.2 kB / 0.6055 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.02423, allocations: 93.09 kB / 0.6056 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.02423, allocations: 4 kB / 0.6056 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.02425, allocations: 4 kB / 0.6056 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.02454, allocations: 95.88 kB / 0.6057 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.02455, allocations: 12.36 kB / 0.6057 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.02469, allocations: 20 kB / 0.6057 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.02471, allocations: 19.98 kB / 0.6057 GB, free: 7.637 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.0001954/0.0249, allocations: 232.6 kB / 0.6059 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.02495, allocations: 39.84 kB / 0.606 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.02499, allocations: 26.97 kB / 0.606 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.02499, allocations: 4 kB / 0.606 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02499, allocations: 0 / 0.606 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.025, allocations: 3.984 kB / 0.606 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.02853, allocations: 0.5264 MB / 0.6065 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02853, allocations: 0 / 0.6065 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.02878, allocations: 69.42 kB / 0.6066 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.02878, allocations: 0 / 0.6066 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.0288, allocations: 11.98 kB / 0.6066 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.02881, allocations: 4 kB / 0.6066 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02881, allocations: 0 / 0.6066 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.02922, allocations: 0.5141 MB / 0.6071 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.02925, allocations: 23.86 kB / 0.6071 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.02929, allocations: 11.98 kB / 0.6071 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.02941, allocations: 12 kB / 0.6072 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.02948, allocations: 35.69 kB / 0.6072 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.02949, allocations: 11.94 kB / 0.6072 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.02956, allocations: 70.78 kB / 0.6073 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.02956, allocations: 0 / 0.6073 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002996/0.02986, allocations: 84 kB / 0.6073 GB, free: 5.855 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.0001077/0.02997, allocations: 100.3 kB / 0.6074 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.03033, allocations: 474.1 kB / 0.6079 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.03033, allocations: 7.938 kB / 0.6079 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.0305, allocations: 262.9 kB / 0.6082 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.03087, allocations: 99.27 kB / 0.6082 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.03561, allocations: 0.7564 MB / 0.609 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.03567, allocations: 93.06 kB / 0.6091 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.03579, allocations: 30.97 kB / 0.6091 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.03601, allocations: 145.3 kB / 0.6092 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.03601, allocations: 0 / 0.6092 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.3532/0.3892, allocations: 4.765 MB / 0.6139 GB, free: 53.7 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.877522614784539]