Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.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.0009119/0.0009119, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.0008998/0.0008998, allocations: 165 kB / 23.5 MB, free: 1.047 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.97/0.97, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.596/1.596, allocations: 273.5 MB / 0.5213 GB, free: 14.86 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.PKTwoCompartmentModelComparison,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.787e-05, allocations: 3.734 kB / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison): time 0.006657/0.006685, allocations: 3.403 MB / 0.6503 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.01107, allocations: 0.838 MB / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.01123, allocations: 5.719 kB / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.01134, allocations: 62.38 kB / 0.6512 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.0117, allocations: 162.6 kB / 0.6513 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.01199, allocations: 133.7 kB / 0.6515 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.01242, allocations: 0.6038 MB / 0.6521 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.01263, allocations: 107.5 kB / 0.6522 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.01294, allocations: 320 kB / 0.6525 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.01317, allocations: 193.3 kB / 0.6527 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.01323, allocations: 46.44 kB / 0.6527 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.01329, allocations: 47.62 kB / 0.6527 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.01335, allocations: 105.3 kB / 0.6528 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.01656, allocations: 188.9 kB / 0.653 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.01694, allocations: 374.5 kB / 0.6534 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01695, allocations: 1.094 kB / 0.6534 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01695, allocations: 0 / 0.6534 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.01696, allocations: 0 / 0.6534 GB, free: 34.68 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001039/0.01799, allocations: 0.9371 MB / 0.6543 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.01804, allocations: 7.875 kB / 0.6543 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.01817, allocations: 85.42 kB / 0.6544 GB, free: 33.87 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.01832, allocations: 188.6 kB / 0.6546 GB, free: 33.69 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.01837, allocations: 30.88 kB / 0.6546 GB, free: 33.68 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.01844, allocations: 53.69 kB / 0.6546 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.01902, allocations: 470.5 kB / 0.6551 GB, free: 33.38 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.01904, allocations: 5.625 kB / 0.6551 GB, free: 33.38 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.01908, allocations: 18.31 kB / 0.6551 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.0191, allocations: 8.938 kB / 0.6551 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.02251, allocations: 306.5 kB / 0.6554 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.02373, allocations: 0.9278 MB / 0.6563 GB, free: 32.58 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.02421, allocations: 360.5 kB / 0.6567 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.02444, allocations: 214.5 kB / 0.6569 GB, free: 32.17 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.02447, allocations: 16.61 kB / 0.6569 GB, free: 32.17 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.02499, allocations: 0.6271 MB / 0.6575 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=62): time 2.214e-06/0.02499, allocations: 0 / 0.6575 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=66): time 0.005037/0.03003, allocations: 1.84 MB / 0.6593 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.03011, allocations: 410.1 kB / 0.6597 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.03031, allocations: 290.5 kB / 0.66 GB, free: 29.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.03034, allocations: 48.59 kB / 0.66 GB, free: 29.65 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.03043, allocations: 232.6 kB / 0.6602 GB, free: 29.45 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.03054, allocations: 210.2 kB / 0.6604 GB, free: 29.29 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.03068, allocations: 120.9 kB / 0.6605 GB, free: 29.22 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.03075, allocations: 0.5273 MB / 0.6611 GB, free: 28.71 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.03099, allocations: 303.4 kB / 0.6614 GB, free: 28.47 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.03429, allocations: 0.5096 MB / 0.6619 GB, free: 27.95 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.03498, allocations: 0.952 MB / 0.6628 GB, free: 27.09 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.03499, allocations: 1.438 kB / 0.6628 GB, free: 27.09 MB / 0.5262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008079/0.03579, allocations: 0.8509 MB / 0.6636 GB, free: 26.53 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.03585, allocations: 177.6 kB / 0.6638 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.03586, allocations: 4.219 kB / 0.6638 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.03588, allocations: 7 kB / 0.6638 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.0364, allocations: 176.5 kB / 0.664 GB, free: 26.32 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006671/0.03707, allocations: 1.831 MB / 0.6657 GB, free: 24.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/0.04035, allocations: 33.7 kB / 0.6658 GB, free: 24.45 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.0404, allocations: 30.34 kB / 0.6658 GB, free: 24.44 MB / 0.5262 GB Warning: Assuming fixed start value for the following 20 variables: central2.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 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 git.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real git.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real git.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 central2.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central2.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 central.rising:DISCRETE(fixed = true protected = true ) type: Boolean git.rising:DISCRETE(fixed = true protected = true ) type: Boolean peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central2.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.git.Cmin,git.Cmin,$PRE.git.Cmax,git.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central2.Cmin,central2.Cmin,$PRE.central2.Cmax,central2.Cmax,$PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.rising,$PRE.git.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,central.rising,git.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.periodicDose1.pulse.count,$PRE.periodicDose1.pulse.T_start,$PRE.peripheral.rising,$PRE.central2.rising,periodicDose1.pulse.count,periodicDose1.pulse.T_start,peripheral.rising,central2.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 (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.04074, allocations: 406.4 kB / 0.6662 GB, free: 24.09 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.04083, allocations: 81.98 kB / 0.6663 GB, free: 24.06 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.04089, allocations: 41.97 kB / 0.6663 GB, free: 24.02 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.0409, allocations: 3.75 kB / 0.6663 GB, free: 24.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.0409, allocations: 0 / 0.6663 GB, free: 24.02 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.04094, allocations: 34.7 kB / 0.6664 GB, free: 24 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.04101, allocations: 25.66 kB / 0.6664 GB, free: 23.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.04117, allocations: 31.66 kB / 0.6664 GB, free: 23.98 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.04132, allocations: 56.67 kB / 0.6665 GB, free: 23.96 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008847/0.0422, allocations: 1.022 MB / 0.6675 GB, free: 23.31 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008036/0.04301, allocations: 1.352 MB / 0.6688 GB, free: 22.35 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002233/0.04323, allocations: 283 kB / 0.6691 GB, free: 22.18 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.000103/0.04333, allocations: 203.9 kB / 0.6692 GB, free: 22.04 MB / 0.5262 GB Notification: Performance of Backend: time 7.82e-07/0.04333, allocations: 0 / 0.6692 GB, free: 22.04 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0008973/0.04423, allocations: 0.878 MB / 0.6701 GB, free: 21.32 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001983/0.04621, allocations: 2.071 MB / 0.6721 GB, free: 19.62 MB / 0.5262 GB Notification: Performance of Templates: time 0.01067/0.05688, allocations: 7.479 MB / 0.6794 GB, free: 18.87 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelComparison.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.885007534874603]