Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.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.001184/0.001184, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.00304, 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.001069/0.001069, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002528, 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.927/0.927, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0867/1.014, 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.7773/0.7773, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02997/0.8073, allocations: 21.04 MB / 0.5433 GB, free: 31.49 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.Examples.PK_1C_Digoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin") translateModel(Pharmacolibrary.Examples.PK_1C_Digoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.66e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Digoxin): time 0.001876/0.001893, allocations: 2.194 MB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000605/0.002498, allocations: 0.5414 MB / 0.5473 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.002549, allocations: 3.938 kB / 0.5473 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.171e-05/0.002601, allocations: 19.84 kB / 0.5473 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.002689, allocations: 55.48 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.865e-05/0.002777, allocations: 59.81 kB / 0.5474 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.002923, allocations: 195.1 kB / 0.5476 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.003004, allocations: 30.55 kB / 0.5476 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.003139, allocations: 131.8 kB / 0.5477 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.003224, allocations: 59.81 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003244, allocations: 15.94 kB / 0.5478 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.003262, allocations: 16 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.003286, allocations: 19.94 kB / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.003327, allocations: 47.88 kB / 0.5479 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003447, allocations: 107.7 kB / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.003455, allocations: 4 kB / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003456, allocations: 0 / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.003463, allocations: 0 / 0.548 GB, free: 26.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0003964/0.00386, allocations: 433.7 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.003889, allocations: 15.89 kB / 0.5484 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.003925, allocations: 24.84 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.004041, allocations: 148.2 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.004052, allocations: 4.375 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.004075, allocations: 20.38 kB / 0.5486 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.004205, allocations: 146.3 kB / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.004215, allocations: 3.938 kB / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.004224, allocations: 0 / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004228, allocations: 4 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.004291, allocations: 73.59 kB / 0.5488 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.004637, allocations: 252 kB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.004793, allocations: 104.2 kB / 0.5492 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.004841, allocations: 65.72 kB / 0.5492 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.004851, allocations: 4 kB / 0.5492 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.005015, allocations: 192.4 kB / 0.5494 GB, free: 25.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.005016, allocations: 0 / 0.5494 GB, free: 25.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005413/0.005558, allocations: 0.4926 MB / 0.5499 GB, free: 24.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.00559, allocations: 174.1 kB / 0.5501 GB, free: 24.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.005644, allocations: 149.6 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005655, allocations: 29.7 kB / 0.5502 GB, free: 24.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.005679, allocations: 108.5 kB / 0.5503 GB, free: 23.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.005707, allocations: 67.44 kB / 0.5504 GB, free: 23.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.005748, allocations: 45.92 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.052e-05/0.005779, allocations: 334.8 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.005822, allocations: 89.7 kB / 0.5509 GB, free: 23.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.00588, allocations: 159.5 kB / 0.551 GB, free: 23.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.994e-05/0.00598, allocations: 202.1 kB / 0.5512 GB, free: 23.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.005982, allocations: 0 / 0.5512 GB, free: 23.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000126/0.006107, allocations: 244.1 kB / 0.5514 GB, free: 22.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.006139, allocations: 67.39 kB / 0.5515 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006144, allocations: 7.938 kB / 0.5515 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.006153, allocations: 0 / 0.5515 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.006289, allocations: 56.12 kB / 0.5516 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.006294, allocations: 14.89 kB / 0.5516 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.006357, allocations: 12 kB / 0.5516 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.006367, allocations: 8 kB / 0.5516 GB, free: 22.57 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: singleDose.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: 6 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.189e-05/0.006459, allocations: 163.5 kB / 0.5518 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.006476, allocations: 15.98 kB / 0.5518 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.0065, allocations: 25.05 kB / 0.5518 GB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006501, allocations: 4 kB / 0.5518 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.006503, allocations: 0 / 0.5518 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.006507, allocations: 4 kB / 0.5518 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.006716, allocations: 354 kB / 0.5521 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006717, allocations: 0 / 0.5521 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.006827, allocations: 47.03 kB / 0.5522 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.006844, allocations: 11.91 kB / 0.5522 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006846, allocations: 0 / 0.5522 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.006855, allocations: 8 kB / 0.5522 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006856, allocations: 0 / 0.5522 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006858, allocations: 4 kB / 0.5522 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.00701, allocations: 351 kB / 0.5525 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.007028, allocations: 11.94 kB / 0.5526 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.00709, allocations: 4 kB / 0.5526 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.007127, allocations: 23.95 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.007135, allocations: 4 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.007158, allocations: 32.83 kB / 0.5526 GB, free: 21.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007158, allocations: 3.938 kB / 0.5526 GB, free: 21.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.007302, allocations: 44 kB / 0.5527 GB, free: 21.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (singleDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.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 (17): * Single equations (assignments): 14 * 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.026e-05/0.007362, allocations: 92.41 kB / 0.5527 GB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.007502, allocations: 307 kB / 0.553 GB, free: 20.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.007507, allocations: 4 kB / 0.553 GB, free: 20.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.007571, allocations: 141.9 kB / 0.5532 GB, free: 20.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.007771, allocations: 226.6 kB / 0.5534 GB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.01137, allocations: 474.8 kB / 0.5538 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.01139, allocations: 72 kB / 0.5539 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.01145, allocations: 17.47 kB / 0.5539 GB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.01154, allocations: 91.36 kB / 0.554 GB, free: 19.84 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01154, allocations: 8 kB / 0.554 GB, free: 19.84 MB / 410.7 MB Notification: Performance of Templates: time 0.003614/0.01516, allocations: 2.719 MB / 0.5567 GB, free: 17.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2242317125201225]