Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.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.001036/0.001036, allocations: 89.08 kB / 19.42 MB, free: 496 kB / 13.93 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.001423/0.001423, allocations: 169.3 kB / 22.72 MB, free: 1.828 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.9526/0.9526, allocations: 177.1 MB / 203.1 MB, free: 5.66 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.708/1.708, allocations: 273.5 MB / 0.5205 GB, free: 14.91 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.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6462 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.598e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.001856/0.001872, allocations: 2.061 MB / 0.6482 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.00252, allocations: 0.5443 MB / 0.6488 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.002593, allocations: 1.906 kB / 0.6488 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.002695, allocations: 20.27 kB / 0.6488 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.002817, allocations: 49.36 kB / 0.6488 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.002972, allocations: 45.3 kB / 0.6489 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.003167, allocations: 195 kB / 0.6491 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.003281, allocations: 33.98 kB / 0.6491 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.003402, allocations: 101.7 kB / 0.6492 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.003513, allocations: 54.56 kB / 0.6492 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.003541, allocations: 14.78 kB / 0.6493 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.003569, allocations: 13.88 kB / 0.6493 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.0036, allocations: 31.27 kB / 0.6493 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.003656, allocations: 57.06 kB / 0.6494 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.003806, allocations: 127.2 kB / 0.6495 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003808, allocations: 0 / 0.6495 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003808, allocations: 0 / 0.6495 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003813, allocations: 0 / 0.6495 GB, free: 36.75 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005055/0.004319, allocations: 0.5156 MB / 0.65 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.004355, allocations: 11.62 kB / 0.65 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.004409, allocations: 21.75 kB / 0.65 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.004571, allocations: 163.7 kB / 0.6502 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.004594, allocations: 10 kB / 0.6502 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.004627, allocations: 15.38 kB / 0.6502 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.004812, allocations: 141.5 kB / 0.6503 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.004825, allocations: 3.938 kB / 0.6503 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.004837, allocations: 5.188 kB / 0.6503 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.004846, allocations: 3.406 kB / 0.6503 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.004951, allocations: 79.41 kB / 0.6504 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.005362, allocations: 401.5 kB / 0.6508 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.005513, allocations: 125.4 kB / 0.6509 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.005566, allocations: 65.11 kB / 0.651 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.005574, allocations: 6 kB / 0.651 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.00573, allocations: 196.8 kB / 0.6512 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.005732, allocations: 0 / 0.6512 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0006714/0.006403, allocations: 0.5732 MB / 0.6517 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.006438, allocations: 142.2 kB / 0.6519 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.006535, allocations: 204.1 kB / 0.6521 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.006549, allocations: 33.27 kB / 0.6521 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.006595, allocations: 159.9 kB / 0.6523 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.006629, allocations: 71.81 kB / 0.6523 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.006681, allocations: 52 kB / 0.6524 GB, free: 34.28 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.00673, allocations: 0.4992 MB / 0.6529 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.006802, allocations: 104.5 kB / 0.653 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.006892, allocations: 192.3 kB / 0.6531 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.007089, allocations: 326.8 kB / 0.6535 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.007091, allocations: 0 / 0.6535 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002435/0.007334, allocations: 312.4 kB / 0.6537 GB, free: 33 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.007361, allocations: 59.53 kB / 0.6538 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.007366, allocations: 1.719 kB / 0.6538 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.007385, allocations: 12.62 kB / 0.6538 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.007528, allocations: 47.95 kB / 0.6539 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.007536, allocations: 15.06 kB / 0.6539 GB, free: 32.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.007607, allocations: 13.22 kB / 0.6539 GB, free: 32.92 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.007619, allocations: 7.062 kB / 0.6539 GB, free: 32.92 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" 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 central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,central.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001247/0.007744, allocations: 231.5 kB / 0.6541 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.007767, allocations: 22.72 kB / 0.6541 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.007799, allocations: 19.66 kB / 0.6542 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.007802, allocations: 1.469 kB / 0.6542 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.007805, allocations: 1.719 kB / 0.6542 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.00781, allocations: 11.25 kB / 0.6542 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.00814, allocations: 0.5092 MB / 0.6547 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008141, allocations: 0 / 0.6547 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.00825, allocations: 32.62 kB / 0.6547 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008253, allocations: 1.406 kB / 0.6547 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.008267, allocations: 12.05 kB / 0.6547 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.008269, allocations: 0 / 0.6547 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00827, allocations: 1.094 kB / 0.6547 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.008553, allocations: 452.4 kB / 0.6551 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.008569, allocations: 19.12 kB / 0.6552 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.008593, allocations: 9.281 kB / 0.6552 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.008661, allocations: 9.875 kB / 0.6552 GB, free: 31.9 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.008714, allocations: 31.72 kB / 0.6552 GB, free: 31.89 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.008725, allocations: 6.75 kB / 0.6552 GB, free: 31.89 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.008768, allocations: 149.5 kB / 0.6554 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.008768, allocations: 0 / 0.6554 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001985/0.008966, allocations: 47.12 kB / 0.6554 GB, free: 31.77 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.366e-05/0.00905, allocations: 115.2 kB / 0.6555 GB, free: 31.67 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.009304, allocations: 324.7 kB / 0.6558 GB, free: 31.41 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.009306, allocations: 0 / 0.6558 GB, free: 31.41 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.009395, allocations: 153 kB / 0.656 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.009651, allocations: 38.92 kB / 0.656 GB, free: 31.29 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.01086, allocations: 0.5798 MB / 0.6566 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.01091, allocations: 86.14 kB / 0.6567 GB, free: 30.84 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.01096, allocations: 13.69 kB / 0.6567 GB, free: 30.83 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.01101, allocations: 19.31 kB / 0.6567 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of SimCode: time 6.51e-07/0.01101, allocations: 0 / 0.6567 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of Templates: time 0.004268/0.01527, allocations: 2.441 MB / 0.6591 GB, free: 30.63 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.980779073666781]