Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.001413/0.001413, 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.00151/0.00151, 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.9361/0.9361, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.63/1.63, allocations: 273.5 MB / 0.5213 GB, free: 14.82 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.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.966e-05, allocations: 5.547 kB / 0.647 GB, free: 38.54 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002183/0.002213, allocations: 2.262 MB / 0.6492 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.002925, allocations: 0.6044 MB / 0.6498 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.003004, allocations: 2.562 kB / 0.6498 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.003111, allocations: 20.8 kB / 0.6498 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.003261, allocations: 83.47 kB / 0.6499 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.003451, allocations: 54.36 kB / 0.6499 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.003671, allocations: 249.7 kB / 0.6502 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.003777, allocations: 34.7 kB / 0.6502 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.0039, allocations: 127 kB / 0.6503 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.004058, allocations: 78.58 kB / 0.6504 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.004085, allocations: 15.5 kB / 0.6504 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.004108, allocations: 16.72 kB / 0.6504 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.00414, allocations: 42.09 kB / 0.6505 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.004208, allocations: 76.41 kB / 0.6506 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004367, allocations: 145.6 kB / 0.6507 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004369, allocations: 3.125 kB / 0.6507 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00437, allocations: 0 / 0.6507 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.004375, allocations: 0 / 0.6507 GB, free: 36.28 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005103/0.004885, allocations: 0.5706 MB / 0.6513 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004921, allocations: 8.125 kB / 0.6513 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.00498, allocations: 36.45 kB / 0.6513 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005131, allocations: 175.9 kB / 0.6515 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.005144, allocations: 10.92 kB / 0.6515 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.005173, allocations: 18.12 kB / 0.6515 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.005368, allocations: 184.8 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.00538, allocations: 1.875 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.005392, allocations: 2.344 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.005401, allocations: 3.531 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.0055, allocations: 90.2 kB / 0.6518 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.005966, allocations: 0.5582 MB / 0.6523 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.006104, allocations: 115.6 kB / 0.6524 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.00616, allocations: 66.41 kB / 0.6525 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.006169, allocations: 5.719 kB / 0.6525 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.006323, allocations: 204.2 kB / 0.6527 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.006325, allocations: 0 / 0.6527 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0006557/0.006981, allocations: 0.6175 MB / 0.6533 GB, free: 34.17 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.007005, allocations: 132.6 kB / 0.6534 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.007126, allocations: 247 kB / 0.6536 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.007141, allocations: 35.39 kB / 0.6537 GB, free: 33.79 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.007192, allocations: 171.9 kB / 0.6538 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.007226, allocations: 69.88 kB / 0.6539 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.007279, allocations: 58.2 kB / 0.654 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.00733, allocations: 0.5044 MB / 0.6545 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.007406, allocations: 112.5 kB / 0.6546 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.007496, allocations: 218.4 kB / 0.6548 GB, free: 32.72 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.0077, allocations: 338.4 kB / 0.6551 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007702, allocations: 0 / 0.6551 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002534/0.007955, allocations: 340 kB / 0.6554 GB, free: 32.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.00798, allocations: 63.31 kB / 0.6555 GB, free: 32.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.007985, allocations: 2.375 kB / 0.6555 GB, free: 32.13 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.008001, allocations: 4.719 kB / 0.6555 GB, free: 32.13 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.008146, allocations: 54.5 kB / 0.6555 GB, free: 32.12 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.008157, allocations: 8.984 kB / 0.6555 GB, free: 32.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.008239, allocations: 15.09 kB / 0.6556 GB, free: 32.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.008254, allocations: 19.45 kB / 0.6556 GB, free: 32.11 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: 9 * 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 (33): * Single equations (assignments): 31 * 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.0001254/0.00838, allocations: 221.9 kB / 0.6558 GB, free: 31.9 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.008406, allocations: 31.27 kB / 0.6558 GB, free: 31.89 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.008436, allocations: 27.31 kB / 0.6559 GB, free: 31.87 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.00844, allocations: 0 / 0.6559 GB, free: 31.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.00844, allocations: 0 / 0.6559 GB, free: 31.87 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.00846, allocations: 17.44 kB / 0.6559 GB, free: 31.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.008486, allocations: 11.44 kB / 0.6559 GB, free: 31.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.008538, allocations: 13.36 kB / 0.6559 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.008594, allocations: 24.48 kB / 0.6559 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002865/0.008881, allocations: 366 kB / 0.6563 GB, free: 31.59 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003287/0.00921, allocations: 0.579 MB / 0.6568 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.346e-05/0.009293, allocations: 94.12 kB / 0.6569 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.009352, allocations: 179.1 kB / 0.6571 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of Backend: time 2.61e-07/0.009352, allocations: 0 / 0.6571 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.009726, allocations: 355.7 kB / 0.6574 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001376/0.0111, allocations: 1.34 MB / 0.6587 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of Templates: time 0.004828/0.01593, allocations: 3.353 MB / 0.662 GB, free: 29.25 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.81148228305392]