Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.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.0006504/0.0006504, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008325/0.001483, 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.0006484/0.0006484, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008146/0.001463, 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.8307/0.8307, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06632/0.897, 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.6899/0.6899, allocations: 291.2 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02779/0.7177, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.PK_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.228e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Gentamicin): time 0.00187/0.001892, allocations: 2.227 MB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000579/0.002472, allocations: 0.5687 MB / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.002528, allocations: 0 / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.529e-05/0.002584, allocations: 19.78 kB / 0.5473 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.002677, allocations: 67.42 kB / 0.5474 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.362e-05/0.00277, allocations: 47.89 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.002923, allocations: 207 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.003016, allocations: 30.67 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.003158, allocations: 143.7 kB / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.959e-05/0.003247, allocations: 55.81 kB / 0.5479 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.003269, allocations: 16 kB / 0.5479 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.003288, allocations: 16 kB / 0.5479 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.003313, allocations: 31.86 kB / 0.5479 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.003354, allocations: 43.94 kB / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.00348, allocations: 111.6 kB / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.003489, allocations: 0 / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00349, allocations: 0 / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.003499, allocations: 0 / 0.5481 GB, free: 26.55 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.0004366/0.003935, allocations: 445.7 kB / 0.5485 GB, free: 26.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.003962, allocations: 11.89 kB / 0.5485 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.004, allocations: 16.92 kB / 0.5485 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.004115, allocations: 157.5 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004129, allocations: 4.375 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.004151, allocations: 16.38 kB / 0.5487 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.004291, allocations: 146.3 kB / 0.5488 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.004301, allocations: 192 / 0.5488 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.00431, allocations: 384 / 0.5488 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.004316, allocations: 7.938 kB / 0.5489 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/0.004378, allocations: 73.05 kB / 0.5489 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.00465, allocations: 244.1 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.0048, allocations: 120 kB / 0.5493 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.00483, allocations: 58.53 kB / 0.5493 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.004838, allocations: 7.984 kB / 0.5493 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.004964, allocations: 192.4 kB / 0.5495 GB, free: 24.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.004965, allocations: 0 / 0.5495 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004614/0.005426, allocations: 0.4964 MB / 0.55 GB, free: 24.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.005455, allocations: 162.2 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.005513, allocations: 159 kB / 0.5503 GB, free: 24.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.005525, allocations: 29.7 kB / 0.5503 GB, free: 23.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.005552, allocations: 113.2 kB / 0.5504 GB, free: 23.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.005577, allocations: 63.45 kB / 0.5505 GB, free: 23.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.005617, allocations: 49.91 kB / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.746e-05/0.005644, allocations: 334.7 kB / 0.5509 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.005686, allocations: 88.95 kB / 0.551 GB, free: 23.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.005736, allocations: 165 kB / 0.5511 GB, free: 23.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.005824, allocations: 200.5 kB / 0.5513 GB, free: 22.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.005825, allocations: 0 / 0.5513 GB, free: 22.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001779/0.006003, allocations: 253 kB / 0.5515 GB, free: 22.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.00603, allocations: 55.41 kB / 0.5516 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006036, allocations: 4.156 kB / 0.5516 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006047, allocations: 4 kB / 0.5516 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.006184, allocations: 63.89 kB / 0.5517 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006188, allocations: 7.938 kB / 0.5517 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.006253, allocations: 8 kB / 0.5517 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.006262, allocations: 8 kB / 0.5517 GB, free: 22.45 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 8.837e-05/0.00635, allocations: 159.5 kB / 0.5518 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.006368, allocations: 19.98 kB / 0.5519 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.006393, allocations: 25.11 kB / 0.5519 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006395, allocations: 7.938 kB / 0.5519 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006397, allocations: 0 / 0.5519 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006401, allocations: 3.938 kB / 0.5519 GB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.006617, allocations: 357.1 kB / 0.5522 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.006618, allocations: 4 kB / 0.5522 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.006733, allocations: 39.09 kB / 0.5523 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.006747, allocations: 15.89 kB / 0.5523 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006749, allocations: 4 kB / 0.5523 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.00676, allocations: 11.94 kB / 0.5523 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006762, allocations: 0 / 0.5523 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006763, allocations: 0 / 0.5523 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.006939, allocations: 343 kB / 0.5526 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.006959, allocations: 8 kB / 0.5526 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.007025, allocations: 19.92 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.007063, allocations: 15.97 kB / 0.5527 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.007071, allocations: 4 kB / 0.5527 GB, free: 21.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.007097, allocations: 36.81 kB / 0.5527 GB, free: 21.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007097, allocations: 4 kB / 0.5527 GB, free: 21.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.007248, allocations: 48 kB / 0.5528 GB, free: 21.27 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.161e-05/0.00731, allocations: 88.42 kB / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.007455, allocations: 298.7 kB / 0.5531 GB, free: 20.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.00746, allocations: 4 kB / 0.5531 GB, free: 20.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/0.007522, allocations: 145.9 kB / 0.5533 GB, free: 20.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.007744, allocations: 314.9 kB / 0.5536 GB, free: 20.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.0115, allocations: 482.2 kB / 0.554 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.744e-05/0.01153, allocations: 75.98 kB / 0.5541 GB, free: 19.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01158, allocations: 17.64 kB / 0.5541 GB, free: 19.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01169, allocations: 103.3 kB / 0.5542 GB, free: 19.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01169, allocations: 4 kB / 0.5542 GB, free: 19.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003724/0.01541, allocations: 2.921 MB / 0.5571 GB, free: 16.78 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1545863710343838]