Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.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.001003/0.001003, allocations: 91.55 kB / 20.2 MB, free: 4.336 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.0009419/0.0009419, allocations: 165 kB / 23.5 MB, free: 1.039 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.8806/0.8806, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.618/1.618, allocations: 273.5 MB / 0.5213 GB, free: 14.85 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.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.29e-05, allocations: 10.45 kB / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModel): time 0.003337/0.00336, allocations: 2.395 MB / 0.6493 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.0044, allocations: 0.6105 MB / 0.6499 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.004498, allocations: 3.375 kB / 0.6499 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.842e-05/0.004566, allocations: 30.03 kB / 0.6499 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.004789, allocations: 73.17 kB / 0.65 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.004991, allocations: 68.05 kB / 0.6501 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.005276, allocations: 298.9 kB / 0.6504 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.005437, allocations: 53.59 kB / 0.6504 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.005651, allocations: 163.5 kB / 0.6506 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.00581, allocations: 82.28 kB / 0.6506 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.005853, allocations: 21.91 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.642e-05/0.005889, allocations: 24.03 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.005932, allocations: 44.17 kB / 0.6507 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.006036, allocations: 89.95 kB / 0.6508 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.006283, allocations: 185.8 kB / 0.651 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.006286, allocations: 0 / 0.651 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006287, allocations: 0.9688 kB / 0.651 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.006292, allocations: 0 / 0.651 GB, free: 36.16 MB / 0.5262 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.0007232/0.007015, allocations: 0.6096 MB / 0.6516 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.007059, allocations: 10.22 kB / 0.6516 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.007148, allocations: 42.17 kB / 0.6516 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.007264, allocations: 149.2 kB / 0.6518 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.007286, allocations: 13.59 kB / 0.6518 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.007334, allocations: 31.03 kB / 0.6518 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.007655, allocations: 221.7 kB / 0.652 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.007671, allocations: 4.75 kB / 0.652 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.007692, allocations: 6.219 kB / 0.652 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.007703, allocations: 5.875 kB / 0.6521 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.007908, allocations: 149.2 kB / 0.6522 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.008628, allocations: 0.4999 MB / 0.6527 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.008882, allocations: 176.9 kB / 0.6529 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.008991, allocations: 110.1 kB / 0.653 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.009004, allocations: 5.75 kB / 0.653 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.009278, allocations: 321.6 kB / 0.6533 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=31): time 3.135e-06/0.009281, allocations: 1.219 kB / 0.6533 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=33): time 0.001219/0.0105, allocations: 0.9082 MB / 0.6542 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.01054, allocations: 215.6 kB / 0.6544 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01067, allocations: 220.5 kB / 0.6546 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.0107, allocations: 34.55 kB / 0.6546 GB, free: 33.23 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.01075, allocations: 173.5 kB / 0.6548 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.01082, allocations: 114.6 kB / 0.6549 GB, free: 32.98 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.0109, allocations: 69 kB / 0.6549 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.01097, allocations: 0.501 MB / 0.6554 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01111, allocations: 155.8 kB / 0.6556 GB, free: 32.32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.01128, allocations: 261.5 kB / 0.6558 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.0117, allocations: 488.5 kB / 0.6563 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0117, allocations: 3.938 kB / 0.6563 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004901/0.01219, allocations: 460.4 kB / 0.6567 GB, free: 31.32 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.01223, allocations: 88.67 kB / 0.6568 GB, free: 31.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01224, allocations: 1.469 kB / 0.6568 GB, free: 31.22 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01226, allocations: 5.531 kB / 0.6568 GB, free: 31.22 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.01252, allocations: 76.7 kB / 0.6569 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.01254, allocations: 4.188 kB / 0.6569 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.01268, allocations: 14.06 kB / 0.6569 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.0127, allocations: 19.2 kB / 0.6569 GB, free: 31.21 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: 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 intestine.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real blood.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real intestine.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real intestine.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real blood.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real blood.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real blood.rising:DISCRETE(fixed = true protected = true ) type: Boolean intestine.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.intestine.Cmin,intestine.Cmin,$PRE.intestine.Cmax,intestine.Cmax,$PRE.blood.Cmin,blood.Cmin,$PRE.blood.Cmax,blood.Cmax,$PRE.blood.rising,$PRE.intestine.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,blood.rising,intestine.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$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 (45): * Single equations (assignments): 42 * 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.0002128/0.01291, allocations: 280.8 kB / 0.6572 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.01298, allocations: 32.52 kB / 0.6572 GB, free: 30.94 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.01302, allocations: 28.41 kB / 0.6573 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01303, allocations: 0.5625 kB / 0.6573 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01303, allocations: 0.5312 kB / 0.6573 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.01306, allocations: 16.72 kB / 0.6573 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.01311, allocations: 16.31 kB / 0.6573 GB, free: 30.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01322, allocations: 16.17 kB / 0.6573 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.01331, allocations: 27.61 kB / 0.6573 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006872/0.014, allocations: 0.4955 MB / 0.6578 GB, free: 30.55 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006856/0.01468, allocations: 0.762 MB / 0.6586 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001529/0.01483, allocations: 148.1 kB / 0.6587 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.0149, allocations: 152.9 kB / 0.6589 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of Backend: time 2.61e-07/0.0149, allocations: 0 / 0.6589 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.01552, allocations: 481.5 kB / 0.6593 GB, free: 29.36 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001911/0.01743, allocations: 1.451 MB / 0.6607 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of Templates: time 0.006766/0.02419, allocations: 3.661 MB / 0.6643 GB, free: 27.84 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.707480103941634]