Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.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.001195/0.001195, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001273/0.001273, 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.9543/0.9543, allocations: 177.1 MB / 203.8 MB, free: 5.594 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.637/1.637, 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.Examples.PK_1C_Lithium2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2") translateModel(Pharmacolibrary.Examples.PK_1C_Lithium2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.648 GB, free: 37.94 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.867e-05, allocations: 2.312 kB / 0.648 GB, free: 37.94 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Lithium2): time 0.002863/0.002881, allocations: 4.021 MB / 0.6519 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.003691, allocations: 0.7247 MB / 0.6526 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.003785, allocations: 2.094 kB / 0.6527 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003902, allocations: 41.14 kB / 0.6527 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004075, allocations: 113.2 kB / 0.6528 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.004319, allocations: 94.92 kB / 0.6529 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.004575, allocations: 374.8 kB / 0.6532 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.004702, allocations: 56.81 kB / 0.6533 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.004858, allocations: 189.5 kB / 0.6535 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.005039, allocations: 118 kB / 0.6536 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.005073, allocations: 28.78 kB / 0.6536 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.005105, allocations: 27.94 kB / 0.6536 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.005139, allocations: 51.39 kB / 0.6537 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.00523, allocations: 120.5 kB / 0.6538 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005432, allocations: 217.1 kB / 0.654 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005434, allocations: 0 / 0.654 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.32e-07/0.005435, allocations: 0 / 0.654 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005439, allocations: 6.25 kB / 0.654 GB, free: 34.11 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006417/0.006081, allocations: 0.674 MB / 0.6547 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.006118, allocations: 7.969 kB / 0.6547 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.00619, allocations: 49.28 kB / 0.6547 GB, free: 33.49 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.006373, allocations: 211.6 kB / 0.6549 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.006389, allocations: 16.75 kB / 0.655 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.006426, allocations: 25.27 kB / 0.655 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.006704, allocations: 264.7 kB / 0.6552 GB, free: 33.11 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.006718, allocations: 7 kB / 0.6552 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.006734, allocations: 7.625 kB / 0.6552 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.006742, allocations: 6.219 kB / 0.6553 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.006897, allocations: 164 kB / 0.6554 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.007496, allocations: 0.6715 MB / 0.6561 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.007802, allocations: 190.2 kB / 0.6562 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.00789, allocations: 118.1 kB / 0.6564 GB, free: 32.28 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.00791, allocations: 9.953 kB / 0.6564 GB, free: 32.28 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.008118, allocations: 328.1 kB / 0.6567 GB, free: 32.01 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.00812, allocations: 1.219 kB / 0.6567 GB, free: 32.01 MB / 0.5262 GB Notification: Performance of matching and sorting (n=36): time 0.001093/0.009213, allocations: 0.9482 MB / 0.6576 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.009258, allocations: 221.2 kB / 0.6578 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.009444, allocations: 284.4 kB / 0.6581 GB, free: 30.9 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.009468, allocations: 39.42 kB / 0.6581 GB, free: 30.86 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.009528, allocations: 186.1 kB / 0.6583 GB, free: 30.69 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.009586, allocations: 122.8 kB / 0.6584 GB, free: 30.59 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.009677, allocations: 78.72 kB / 0.6585 GB, free: 30.55 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.009738, allocations: 0.5117 MB / 0.659 GB, free: 30.04 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.009879, allocations: 163 kB / 0.6592 GB, free: 29.91 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.01001, allocations: 290.6 kB / 0.6594 GB, free: 29.62 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.01034, allocations: 0.5267 MB / 0.6599 GB, free: 29.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01034, allocations: 0 / 0.6599 GB, free: 29.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003847/0.01072, allocations: 493.6 kB / 0.6604 GB, free: 28.83 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.01076, allocations: 92.41 kB / 0.6605 GB, free: 28.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01076, allocations: 5.188 kB / 0.6605 GB, free: 28.73 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01078, allocations: 4.281 kB / 0.6605 GB, free: 28.73 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.01097, allocations: 81.8 kB / 0.6606 GB, free: 28.73 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.01098, allocations: 7.688 kB / 0.6606 GB, free: 28.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01109, allocations: 19.16 kB / 0.6606 GB, free: 28.72 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.01111, allocations: 22.88 kB / 0.6606 GB, free: 28.71 MB / 0.5262 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.absorptionLumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.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 periodicDose.absorptionLumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.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: 12 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.absorptionLumen.Cmin,periodicDose.absorptionLumen.Cmin,$PRE.periodicDose.absorptionLumen.Cmax,periodicDose.absorptionLumen.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.periodicDose.absorptionLumen.rising,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,periodicDose.absorptionLumen.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 (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.000167/0.01127, allocations: 301.4 kB / 0.6609 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.01131, allocations: 48.5 kB / 0.661 GB, free: 28.43 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.01135, allocations: 28.56 kB / 0.661 GB, free: 28.41 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01135, allocations: 3.656 kB / 0.661 GB, free: 28.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01135, allocations: 0 / 0.661 GB, free: 28.41 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.01143, allocations: 48.34 kB / 0.661 GB, free: 28.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.01146, allocations: 18.94 kB / 0.6611 GB, free: 28.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.01154, allocations: 15.84 kB / 0.6611 GB, free: 28.37 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.01161, allocations: 34.8 kB / 0.6611 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004386/0.01205, allocations: 0.5114 MB / 0.6616 GB, free: 28.03 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004741/0.01252, allocations: 0.7805 MB / 0.6624 GB, free: 27.45 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001222/0.01264, allocations: 163.2 kB / 0.6625 GB, free: 27.34 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.305e-05/0.01273, allocations: 205.3 kB / 0.6627 GB, free: 27.2 MB / 0.5262 GB Notification: Performance of Backend: time 4.1e-07/0.01273, allocations: 0 / 0.6627 GB, free: 27.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.01317, allocations: 484.8 kB / 0.6632 GB, free: 26.8 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00165/0.01482, allocations: 1.59 MB / 0.6647 GB, free: 25.5 MB / 0.5262 GB Notification: Performance of Templates: time 0.006119/0.02094, allocations: 4.675 MB / 0.6693 GB, free: 25.14 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8474491271190345]