Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.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.0009569/0.0009569, 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.0009729/0.0009729, allocations: 169 kB / 23.5 MB, free: 1.043 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.9882/0.9882, allocations: 177.1 MB / 203.8 MB, free: 5.223 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.615/1.615, 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.Examples.PK_Lithium.PK_1C_Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium") translateModel(Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.648 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.403e-05, allocations: 2.312 kB / 0.648 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium): time 0.00337/0.003394, allocations: 4.03 MB / 0.652 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004415, allocations: 0.7139 MB / 0.6527 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.004522, allocations: 2.969 kB / 0.6527 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.004647, allocations: 40.22 kB / 0.6527 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.004847, allocations: 107.2 kB / 0.6528 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.005141, allocations: 95.8 kB / 0.6529 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.005452, allocations: 385.7 kB / 0.6533 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.005588, allocations: 50.47 kB / 0.6533 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.005785, allocations: 193.2 kB / 0.6535 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.00599, allocations: 111.5 kB / 0.6536 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.006029, allocations: 28.88 kB / 0.6536 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.006065, allocations: 26.22 kB / 0.6537 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.006101, allocations: 63.97 kB / 0.6537 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.006197, allocations: 108.1 kB / 0.6538 GB, free: 34.15 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.006424, allocations: 223.5 kB / 0.654 GB, free: 34.04 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.006426, allocations: 0 / 0.654 GB, free: 34.04 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006427, allocations: 0 / 0.654 GB, free: 34.04 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.006433, allocations: 3.531 kB / 0.654 GB, free: 34.04 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.0006598/0.007093, allocations: 0.6792 MB / 0.6547 GB, free: 33.44 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.007132, allocations: 8.562 kB / 0.6547 GB, free: 33.44 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.007208, allocations: 45.72 kB / 0.6548 GB, free: 33.42 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.0074, allocations: 214.9 kB / 0.655 GB, free: 33.23 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.007416, allocations: 16.84 kB / 0.655 GB, free: 33.22 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.007452, allocations: 19.59 kB / 0.655 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.007732, allocations: 261.6 kB / 0.6552 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.007747, allocations: 12.53 kB / 0.6553 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.007764, allocations: 11.66 kB / 0.6553 GB, free: 33.03 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007772, allocations: 3.688 kB / 0.6553 GB, free: 33.03 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.007929, allocations: 159.1 kB / 0.6554 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.00855, allocations: 0.6826 MB / 0.6561 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.008872, allocations: 191.2 kB / 0.6563 GB, free: 32.29 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.008981, allocations: 117.5 kB / 0.6564 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.009004, allocations: 6.109 kB / 0.6564 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.009217, allocations: 326 kB / 0.6567 GB, free: 31.94 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.009219, allocations: 1.594 kB / 0.6567 GB, free: 31.94 MB / 0.5262 GB Notification: Performance of matching and sorting (n=36): time 0.001096/0.01032, allocations: 0.9496 MB / 0.6576 GB, free: 31.28 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.01036, allocations: 222 kB / 0.6578 GB, free: 31.03 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.01055, allocations: 280.2 kB / 0.6581 GB, free: 30.83 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.01057, allocations: 38.14 kB / 0.6581 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.01064, allocations: 191.3 kB / 0.6583 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.01071, allocations: 123.7 kB / 0.6584 GB, free: 30.52 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01081, allocations: 75.3 kB / 0.6585 GB, free: 30.48 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.01088, allocations: 0.5127 MB / 0.659 GB, free: 29.97 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01102, allocations: 162.5 kB / 0.6592 GB, free: 29.84 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01117, allocations: 294.2 kB / 0.6595 GB, free: 29.55 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.0115, allocations: 0.5226 MB / 0.66 GB, free: 29.07 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01151, allocations: 3.469 kB / 0.66 GB, free: 29.07 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004013/0.01191, allocations: 490.7 kB / 0.6604 GB, free: 28.76 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.01194, allocations: 89.42 kB / 0.6605 GB, free: 28.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01195, allocations: 5.938 kB / 0.6605 GB, free: 28.66 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01197, allocations: 5.625 kB / 0.6605 GB, free: 28.66 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.01216, allocations: 84.19 kB / 0.6606 GB, free: 28.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01217, allocations: 4.219 kB / 0.6606 GB, free: 28.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.01228, allocations: 21.34 kB / 0.6606 GB, free: 28.65 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.0123, allocations: 22.06 kB / 0.6607 GB, free: 28.64 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.0001731/0.01248, allocations: 292.5 kB / 0.6609 GB, free: 28.38 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.01252, allocations: 43.62 kB / 0.661 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.01256, allocations: 31.86 kB / 0.661 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01256, allocations: 3.422 kB / 0.661 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01256, allocations: 1.438 kB / 0.661 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.01264, allocations: 45.52 kB / 0.6611 GB, free: 28.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.01267, allocations: 17.59 kB / 0.6611 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.01275, allocations: 11.34 kB / 0.6611 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.01282, allocations: 34.17 kB / 0.6611 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00045/0.01327, allocations: 0.5163 MB / 0.6616 GB, free: 27.96 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004948/0.01377, allocations: 0.7854 MB / 0.6624 GB, free: 27.38 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001314/0.0139, allocations: 165.6 kB / 0.6625 GB, free: 27.27 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 9.129e-05/0.01399, allocations: 199.4 kB / 0.6627 GB, free: 27.14 MB / 0.5262 GB Notification: Performance of Backend: time 3.71e-07/0.01399, allocations: 3.938 kB / 0.6627 GB, free: 27.13 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.01446, allocations: 489.1 kB / 0.6632 GB, free: 26.73 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001733/0.0162, allocations: 1.587 MB / 0.6648 GB, free: 25.41 MB / 0.5262 GB Notification: Performance of Templates: time 0.007022/0.02322, allocations: 4.681 MB / 0.6693 GB, free: 25.05 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.845185304991901]