Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.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.0005778/0.0005778, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008421/0.00142, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006858/0.0006858, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009224/0.001608, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9895/0.9895, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1337/1.123, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7768/0.7768, allocations: 291.1 MB / 0.5227 GB, free: 52.49 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03438/0.8111, allocations: 21.04 MB / 0.5433 GB, free: 31.5 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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_MichaelisMenten,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5446 GB, free: 30.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.676e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten): time 0.002666/0.002683, allocations: 2.405 MB / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.00344, allocations: 0.6269 MB / 0.5475 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/0.003522, allocations: 4 kB / 0.5475 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.003575, allocations: 23.72 kB / 0.5476 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.003714, allocations: 83.28 kB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.003845, allocations: 51.86 kB / 0.5477 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.004036, allocations: 266.6 kB / 0.5479 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.004157, allocations: 50.47 kB / 0.548 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.004343, allocations: 176.2 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.004526, allocations: 87.78 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.004557, allocations: 24 kB / 0.5483 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.004582, allocations: 16 kB / 0.5483 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.004617, allocations: 31.88 kB / 0.5483 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.004674, allocations: 63.88 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.00486, allocations: 139.5 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.00487, allocations: 0 / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004871, allocations: 0 / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.00488, allocations: 0 / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005453/0.005425, allocations: 0.5092 MB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.005455, allocations: 11.89 kB / 0.549 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.005512, allocations: 24.92 kB / 0.549 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.00571, allocations: 178.6 kB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.005733, allocations: 8.609 kB / 0.5492 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.005767, allocations: 20.36 kB / 0.5492 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.005927, allocations: 129.8 kB / 0.5494 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005936, allocations: 192 / 0.5494 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.005948, allocations: 8.375 kB / 0.5494 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005953, allocations: 7.938 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/0.006029, allocations: 82.62 kB / 0.5495 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.006374, allocations: 284.5 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.006544, allocations: 120.2 kB / 0.5498 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.00658, allocations: 58.55 kB / 0.5499 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.006594, allocations: 4 kB / 0.5499 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.006729, allocations: 194.6 kB / 0.5501 GB, free: 24.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.00673, allocations: 4 kB / 0.5501 GB, free: 24.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005262/0.007256, allocations: 0.5276 MB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.007297, allocations: 162.2 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.007379, allocations: 195.2 kB / 0.5509 GB, free: 23.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.007393, allocations: 29.7 kB / 0.551 GB, free: 23.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.007425, allocations: 124.2 kB / 0.5511 GB, free: 23.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.007455, allocations: 79.34 kB / 0.5512 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.007503, allocations: 53.69 kB / 0.5512 GB, free: 23.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.007539, allocations: 334.8 kB / 0.5515 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.007597, allocations: 105 kB / 0.5516 GB, free: 22.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.007657, allocations: 160.5 kB / 0.5518 GB, free: 22.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.007751, allocations: 221.4 kB / 0.552 GB, free: 22.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.007752, allocations: 0 / 0.552 GB, free: 22.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001417/0.007894, allocations: 267.6 kB / 0.5523 GB, free: 21.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.007923, allocations: 63.39 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007927, allocations: 4 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.007938, allocations: 4 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.008089, allocations: 59.91 kB / 0.5524 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008094, allocations: 7.984 kB / 0.5524 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.008167, allocations: 16.19 kB / 0.5524 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.008179, allocations: 12 kB / 0.5524 GB, free: 21.72 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.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 (32): * Single equations (assignments): 30 * 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 9.964e-05/0.008279, allocations: 170.9 kB / 0.5526 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.008299, allocations: 19.97 kB / 0.5526 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008438, allocations: 202.8 kB / 0.5528 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008439, allocations: 4 kB / 0.5528 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.008441, allocations: 0 / 0.5528 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.008446, allocations: 3.938 kB / 0.5528 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.008696, allocations: 388.8 kB / 0.5532 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008697, allocations: 0 / 0.5532 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.008823, allocations: 47.97 kB / 0.5532 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.008841, allocations: 19.88 kB / 0.5532 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008844, allocations: 3.938 kB / 0.5532 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.008855, allocations: 4 kB / 0.5532 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008856, allocations: 0 / 0.5532 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008857, allocations: 0 / 0.5532 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.009048, allocations: 377.3 kB / 0.5536 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.00907, allocations: 8 kB / 0.5536 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.009145, allocations: 15.98 kB / 0.5536 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.009193, allocations: 23.91 kB / 0.5536 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.0092, allocations: 0 / 0.5536 GB, free: 20.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.009241, allocations: 67.08 kB / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009241, allocations: 0 / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.009395, allocations: 56 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.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 (21): * Single equations (assignments): 18 * 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 6.5e-05/0.00946, allocations: 96.34 kB / 0.5539 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.009629, allocations: 316.2 kB / 0.5542 GB, free: 19.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.009635, allocations: 4 kB / 0.5542 GB, free: 19.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.009715, allocations: 157.8 kB / 0.5543 GB, free: 19.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.01001, allocations: 0.5388 MB / 0.5548 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.01534, allocations: 0.5647 MB / 0.5554 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.01537, allocations: 80.33 kB / 0.5555 GB, free: 18.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.01545, allocations: 30.31 kB / 0.5555 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01558, allocations: 119.3 kB / 0.5556 GB, free: 18.12 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01558, allocations: 0 / 0.5556 GB, free: 18.12 MB / 410.7 MB Notification: Performance of Templates: time 0.2661/0.2817, allocations: 3.92 MB / 0.5594 GB, free: 84.72 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C_MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6972482446581125]