Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.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.001185/0.001185, 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.00124/0.00124, allocations: 169.3 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.9876/0.9876, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.607/1.607, allocations: 273.5 MB / 0.5213 GB, free: 14.87 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_LithiumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate") translateModel(Pharmacolibrary.Examples.PK_1C_LithiumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.647 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.563e-05, allocations: 3.688 kB / 0.647 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_LithiumCarbonate): time 0.002319/0.002344, allocations: 2.12 MB / 0.6491 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.003094, allocations: 0.5477 MB / 0.6496 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.003168, allocations: 5.125 kB / 0.6496 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.00328, allocations: 24.5 kB / 0.6496 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.003406, allocations: 55.61 kB / 0.6497 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.003563, allocations: 49.73 kB / 0.6497 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.003785, allocations: 198.3 kB / 0.6499 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.003905, allocations: 32.91 kB / 0.6499 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.004023, allocations: 110.3 kB / 0.65 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.00413, allocations: 60.23 kB / 0.6501 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.00416, allocations: 15.12 kB / 0.6501 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.004182, allocations: 19.19 kB / 0.6501 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.004212, allocations: 25.03 kB / 0.6502 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.004282, allocations: 62.52 kB / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.004449, allocations: 127.5 kB / 0.6503 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004451, allocations: 0 / 0.6503 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.004453, allocations: 2.344 kB / 0.6503 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.004458, allocations: 0 / 0.6503 GB, free: 36.65 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.0005453/0.005003, allocations: 0.5301 MB / 0.6509 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.005047, allocations: 12.44 kB / 0.6509 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.005111, allocations: 24.34 kB / 0.6509 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.005258, allocations: 158 kB / 0.651 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.005272, allocations: 10.12 kB / 0.6511 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.005302, allocations: 17.84 kB / 0.6511 GB, free: 35.97 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.005502, allocations: 139.3 kB / 0.6512 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.005515, allocations: 11.83 kB / 0.6512 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.005528, allocations: 2.219 kB / 0.6512 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.005537, allocations: 6.766 kB / 0.6512 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.005645, allocations: 80.73 kB / 0.6513 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.006128, allocations: 410.2 kB / 0.6517 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.006277, allocations: 117 kB / 0.6518 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.006339, allocations: 63.19 kB / 0.6519 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.006351, allocations: 4.344 kB / 0.6519 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.006529, allocations: 193.6 kB / 0.6521 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.00653, allocations: 0 / 0.6521 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0007454/0.007276, allocations: 0.5815 MB / 0.6526 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.007307, allocations: 142.5 kB / 0.6528 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.007403, allocations: 210.4 kB / 0.653 GB, free: 34.44 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.007417, allocations: 33.89 kB / 0.653 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.007465, allocations: 157.8 kB / 0.6531 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.007502, allocations: 75.58 kB / 0.6532 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.00756, allocations: 51.86 kB / 0.6533 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.007611, allocations: 0.4971 MB / 0.6538 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.007694, allocations: 108.7 kB / 0.6539 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.00779, allocations: 190.9 kB / 0.654 GB, free: 33.38 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.00799, allocations: 324.9 kB / 0.6543 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007992, allocations: 1.469 kB / 0.6543 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002527/0.008245, allocations: 311.2 kB / 0.6546 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.008275, allocations: 64.06 kB / 0.6547 GB, free: 32.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.00828, allocations: 5.125 kB / 0.6547 GB, free: 32.81 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.008294, allocations: 3.531 kB / 0.6547 GB, free: 32.81 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.008445, allocations: 54.66 kB / 0.6548 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.008457, allocations: 3.594 kB / 0.6548 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.008538, allocations: 20.36 kB / 0.6548 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.008553, allocations: 12.38 kB / 0.6548 GB, free: 32.79 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 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.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 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.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$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.000146/0.008699, allocations: 233.3 kB / 0.655 GB, free: 32.58 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.008724, allocations: 21.66 kB / 0.655 GB, free: 32.57 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.008755, allocations: 24.91 kB / 0.6551 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.00876, allocations: 3.562 kB / 0.6551 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008761, allocations: 0 / 0.6551 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.008778, allocations: 11.36 kB / 0.6551 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.008802, allocations: 8.188 kB / 0.6551 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.008856, allocations: 10.86 kB / 0.6551 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.008917, allocations: 17.09 kB / 0.6551 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003113/0.009228, allocations: 373.7 kB / 0.6555 GB, free: 32.29 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003311/0.009559, allocations: 0.5609 MB / 0.656 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.294e-05/0.009642, allocations: 91.7 kB / 0.6561 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.009696, allocations: 155.3 kB / 0.6563 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of Backend: time 3.61e-07/0.009696, allocations: 0 / 0.6563 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.01013, allocations: 342.3 kB / 0.6566 GB, free: 31.37 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001405/0.01154, allocations: 1.289 MB / 0.6578 GB, free: 30.25 MB / 0.5262 GB Notification: Performance of Templates: time 0.00489/0.01643, allocations: 2.86 MB / 0.6606 GB, free: 30.04 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_LithiumCarbonate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.543872108915821]