Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.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.001063/0.001063, allocations: 80.94 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.001066/0.001066, allocations: 177 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 0.9498/0.9498, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.659/1.659, 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.DevModels.PKTwoCompartmentModelOral,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModelOral,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5954 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.319e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModelOral): time 0.002385/0.002398, allocations: 2.398 MB / 0.5977 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003404, allocations: 0.6079 MB / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.003487, allocations: 4 kB / 0.5983 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.625e-05/0.003543, allocations: 27.7 kB / 0.5984 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.003739, allocations: 85.84 kB / 0.5984 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.003916, allocations: 61.61 kB / 0.5985 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.004181, allocations: 292.6 kB / 0.5988 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.004307, allocations: 58.69 kB / 0.5988 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.004509, allocations: 167.6 kB / 0.599 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.004639, allocations: 79.78 kB / 0.5991 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.004675, allocations: 24 kB / 0.5991 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.004699, allocations: 20 kB / 0.5991 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.004742, allocations: 47.83 kB / 0.5992 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.004822, allocations: 95.75 kB / 0.5992 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.005013, allocations: 171.5 kB / 0.5994 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.005014, allocations: 0 / 0.5994 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005015, allocations: 0 / 0.5994 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.005019, allocations: 0 / 0.5994 GB, free: 14.71 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005926/0.005611, allocations: 0.5009 MB / 0.5999 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.005643, allocations: 8.031 kB / 0.5999 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.005695, allocations: 36.84 kB / 0.5999 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.005844, allocations: 145.5 kB / 0.6001 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.005861, allocations: 12.38 kB / 0.6001 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.005894, allocations: 28.36 kB / 0.6001 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.006093, allocations: 203.1 kB / 0.6003 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.006107, allocations: 7.953 kB / 0.6003 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.006122, allocations: 15.98 kB / 0.6003 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.006129, allocations: 4 kB / 0.6003 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.00625, allocations: 129.2 kB / 0.6005 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.006717, allocations: 340.4 kB / 0.6008 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.006855, allocations: 153 kB / 0.6009 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.006912, allocations: 96.19 kB / 0.601 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.006923, allocations: 8 kB / 0.601 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.007116, allocations: 304.9 kB / 0.6013 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.007117, allocations: 0 / 0.6013 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.0007761/0.007893, allocations: 0.7751 MB / 0.6021 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.007969, allocations: 221.6 kB / 0.6023 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.008061, allocations: 164.7 kB / 0.6024 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.008082, allocations: 41.69 kB / 0.6025 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.008127, allocations: 116.9 kB / 0.6026 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.00818, allocations: 103.1 kB / 0.6027 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.008243, allocations: 69.92 kB / 0.6028 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.008325, allocations: 334.8 kB / 0.6031 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.008404, allocations: 131.4 kB / 0.6032 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.008515, allocations: 222.9 kB / 0.6034 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.008751, allocations: 425.5 kB / 0.6038 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008753, allocations: 0 / 0.6038 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002341/0.008987, allocations: 360.8 kB / 0.6042 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.009028, allocations: 89.09 kB / 0.6043 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009033, allocations: 4 kB / 0.6043 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.009047, allocations: 4 kB / 0.6043 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.009202, allocations: 71.91 kB / 0.6043 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009208, allocations: 7.984 kB / 0.6043 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.009299, allocations: 20 kB / 0.6044 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.009312, allocations: 11.94 kB / 0.6044 GB, free: 9.047 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 peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose1.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 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 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: 9 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.periodicDose1.pulse.count,$PRE.periodicDose1.pulse.T_start,$PRE.peripheral.rising,$PRE.central.rising,periodicDose1.pulse.count,periodicDose1.pulse.T_start,peripheral.rising,central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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.0001685/0.009481, allocations: 232.1 kB / 0.6046 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.009509, allocations: 31.92 kB / 0.6046 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.009541, allocations: 25.95 kB / 0.6046 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.009544, allocations: 7.422 kB / 0.6047 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.009547, allocations: 0 / 0.6047 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009551, allocations: 0 / 0.6047 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.009932, allocations: 0.4965 MB / 0.6051 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.009933, allocations: 0 / 0.6051 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01006, allocations: 43.97 kB / 0.6052 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01006, allocations: 0 / 0.6052 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01008, allocations: 15.94 kB / 0.6052 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01008, allocations: 4 kB / 0.6052 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01008, allocations: 3.984 kB / 0.6052 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.01039, allocations: 496.4 kB / 0.6057 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01041, allocations: 15.89 kB / 0.6057 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.01044, allocations: 16 kB / 0.6057 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.01051, allocations: 15.98 kB / 0.6057 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.01056, allocations: 23.95 kB / 0.6057 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01057, allocations: 4 kB / 0.6058 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.01061, allocations: 43.88 kB / 0.6058 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01061, allocations: 4 kB / 0.6058 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001844/0.01079, allocations: 72 kB / 0.6059 GB, free: 7.402 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,peripheral.C,peripheral.AUC,periodicDose1.TotalCumulativeMass,periodicDose1.variableDose.TotalCumulativeMass) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,peripheral.Cmax,peripheral.Cmin,peripheral.rising,periodicDose1.pulse.T_start,periodicDose1.pulse.count) * Number of discrete states: 11 (periodicDose1.pulse.count,peripheral.Cmin,$whenCondition3,peripheral.Cmax,$whenCondition2,peripheral.rising,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 8.069e-05/0.01087, allocations: 88.36 kB / 0.6059 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.01114, allocations: 468.3 kB / 0.6064 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.01114, allocations: 4 kB / 0.6064 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01128, allocations: 258.6 kB / 0.6066 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.0115, allocations: 75.02 kB / 0.6067 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01261, allocations: 0.6464 MB / 0.6073 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01266, allocations: 92.86 kB / 0.6074 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.809e-05/0.01272, allocations: 21.95 kB / 0.6075 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.01286, allocations: 123.3 kB / 0.6076 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.01286, allocations: 0 / 0.6076 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of Templates: time 0.005036/0.0179, allocations: 3.657 MB / 0.6111 GB, free: 2.012 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6939919902943075]