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.0009343/0.0009343, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001457/0.001457, allocations: 173 kB / 23.49 MB, free: 1.055 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.8783/0.8783, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.516/1.516, allocations: 273.5 MB / 0.5213 GB, free: 14.79 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 1.963e-06/1.963e-06, allocations: 1.312 kB / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.065e-05, allocations: 2.312 kB / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002837/0.002858, allocations: 2.267 MB / 0.6492 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.003749, allocations: 0.6043 MB / 0.6498 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.003846, allocations: 0 / 0.6498 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.003979, allocations: 24.88 kB / 0.6498 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.004165, allocations: 81.92 kB / 0.6499 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004381, allocations: 53.44 kB / 0.6499 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.004643, allocations: 249.5 kB / 0.6502 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.004779, allocations: 34.2 kB / 0.6502 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.00494, allocations: 126.4 kB / 0.6503 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.005135, allocations: 81.16 kB / 0.6504 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.00517, allocations: 15.62 kB / 0.6504 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.244e-05/0.005203, allocations: 19.62 kB / 0.6504 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.005238, allocations: 34.2 kB / 0.6505 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.005328, allocations: 80.42 kB / 0.6505 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.00554, allocations: 142.2 kB / 0.6507 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005543, allocations: 6.219 kB / 0.6507 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005544, allocations: 1.094 kB / 0.6507 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005549, allocations: 0 / 0.6507 GB, free: 36.46 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.0006766/0.006225, allocations: 0.5661 MB / 0.6512 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.006265, allocations: 11 kB / 0.6512 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.006344, allocations: 34.64 kB / 0.6513 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.00654, allocations: 178.5 kB / 0.6515 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.00656, allocations: 14.19 kB / 0.6515 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.006597, allocations: 19.94 kB / 0.6515 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.006881, allocations: 187.8 kB / 0.6517 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.006896, allocations: 0 / 0.6517 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.006914, allocations: 4 kB / 0.6517 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.006923, allocations: 4.812 kB / 0.6517 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.007079, allocations: 85.36 kB / 0.6518 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.007696, allocations: 0.5607 MB / 0.6523 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.007891, allocations: 116.7 kB / 0.6524 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.007977, allocations: 67.33 kB / 0.6525 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.007988, allocations: 1.562 kB / 0.6525 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.008192, allocations: 204.5 kB / 0.6527 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.724e-06/0.008194, allocations: 0 / 0.6527 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0009006/0.009094, allocations: 0.6004 MB / 0.6533 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.009136, allocations: 136.9 kB / 0.6534 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.009291, allocations: 242.4 kB / 0.6536 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.009309, allocations: 33.36 kB / 0.6537 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.00937, allocations: 182 kB / 0.6538 GB, free: 33.81 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.009415, allocations: 66.2 kB / 0.6539 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.009488, allocations: 57.95 kB / 0.6539 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.009548, allocations: 0.5076 MB / 0.6544 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.00966, allocations: 112.9 kB / 0.6545 GB, free: 33.13 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.009797, allocations: 218.1 kB / 0.6548 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.01008, allocations: 343.4 kB / 0.6551 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01009, allocations: 1.781 kB / 0.6551 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003719/0.01046, allocations: 341 kB / 0.6554 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.01049, allocations: 60.58 kB / 0.6555 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01049, allocations: 2.719 kB / 0.6555 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01051, allocations: 3.406 kB / 0.6555 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.01073, allocations: 59.61 kB / 0.6555 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.01074, allocations: 7.688 kB / 0.6555 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.01088, allocations: 19.06 kB / 0.6556 GB, free: 32.29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.0109, allocations: 11.34 kB / 0.6556 GB, free: 32.29 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.0001659/0.01107, allocations: 226.1 kB / 0.6558 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.01112, allocations: 27.42 kB / 0.6558 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.01117, allocations: 21.81 kB / 0.6558 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.01117, allocations: 6.703 kB / 0.6558 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01118, allocations: 3.844 kB / 0.6558 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01118, allocations: 0.5625 kB / 0.6558 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.01172, allocations: 0.5483 MB / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01173, allocations: 0 / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.01189, allocations: 35.48 kB / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01189, allocations: 1.844 kB / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.01191, allocations: 6.375 kB / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01191, allocations: 1.656 kB / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01191, allocations: 0 / 0.6564 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.01232, allocations: 478.2 kB / 0.6569 GB, free: 31.28 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.01235, allocations: 20.78 kB / 0.6569 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.01239, allocations: 7.375 kB / 0.6569 GB, free: 31.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.01251, allocations: 15.17 kB / 0.6569 GB, free: 31.26 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.01259, allocations: 18.77 kB / 0.6569 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.0126, allocations: 5 kB / 0.6569 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001161/0.01272, allocations: 176.6 kB / 0.6571 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01272, allocations: 4.5 kB / 0.6571 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003593/0.01308, allocations: 51.75 kB / 0.6572 GB, free: 31.12 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.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 (19): * Single equations (assignments): 16 * 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 9.848e-05/0.01318, allocations: 110.1 kB / 0.6573 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.01355, allocations: 330.3 kB / 0.6576 GB, free: 30.77 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01355, allocations: 0.5625 kB / 0.6576 GB, free: 30.77 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.0137, allocations: 160 kB / 0.6577 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.01413, allocations: 78.27 kB / 0.6578 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.01559, allocations: 0.6523 MB / 0.6584 GB, free: 30.21 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.01563, allocations: 80.61 kB / 0.6585 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.786e-05/0.01569, allocations: 25.7 kB / 0.6585 GB, free: 30.13 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.01573, allocations: 19.78 kB / 0.6586 GB, free: 30.12 MB / 0.5262 GB Notification: Performance of SimCode: time 7.61e-07/0.01573, allocations: 1.375 kB / 0.6586 GB, free: 30.12 MB / 0.5262 GB Notification: Performance of Templates: time 0.004288/0.02002, allocations: 3.194 MB / 0.6617 GB, free: 29.85 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.662517298012972]