Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.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.0006711/0.0006711, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008358/0.001507, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006803/0.0006803, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008388/0.001519, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9841/0.9841, allocations: 177.1 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09315/1.077, allocations: 53.66 MB / 243.2 MB, free: 15.58 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 1.193/1.193, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04306/1.236, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") translateModel(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.21e-07/8.21e-07, allocations: 0 / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.957e-06/9.778e-06, allocations: 10.19 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.00233/0.00234, allocations: 2.459 MB / 0.5469 GB, free: 28.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.003019, allocations: 0.6234 MB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.003089, allocations: 0 / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.363e-05/0.003153, allocations: 27.7 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.003287, allocations: 87.27 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.003403, allocations: 51.88 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.008602, allocations: 262.6 kB / 0.5479 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.008676, allocations: 42.47 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.008825, allocations: 184 kB / 0.5481 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.008943, allocations: 79.8 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.008964, allocations: 16 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.557e-05/0.00899, allocations: 19.94 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.009012, allocations: 27.92 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.00907, allocations: 63.88 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.009201, allocations: 127.5 kB / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.009208, allocations: 0 / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009209, allocations: 3.984 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.009216, allocations: 0 / 0.5484 GB, free: 26.52 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.0004232/0.009639, allocations: 0.5092 MB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.93e-05/0.009658, allocations: 12.03 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.009694, allocations: 20.61 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.009812, allocations: 170.2 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.009827, allocations: 12.61 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.009847, allocations: 12.36 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.00999, allocations: 163 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.009998, allocations: 7.953 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.01001, allocations: 8 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.01001, allocations: 0 / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.01008, allocations: 76.7 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.01045, allocations: 361 kB / 0.5497 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.01061, allocations: 108.2 kB / 0.5498 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.01065, allocations: 58.55 kB / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.01066, allocations: 8 kB / 0.5499 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.01079, allocations: 192.4 kB / 0.5501 GB, free: 24.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.01079, allocations: 0 / 0.5501 GB, free: 24.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005198/0.01131, allocations: 0.5073 MB / 0.5506 GB, free: 24.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.01134, allocations: 148.4 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.01143, allocations: 183.2 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.01144, allocations: 33.7 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.01147, allocations: 132.4 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.01151, allocations: 59.48 kB / 0.5511 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.01156, allocations: 59.16 kB / 0.5511 GB, free: 23.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.01159, allocations: 338.7 kB / 0.5515 GB, free: 23.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.01165, allocations: 100.9 kB / 0.5516 GB, free: 22.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.01173, allocations: 173.3 kB / 0.5517 GB, free: 22.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.01185, allocations: 219.7 kB / 0.5519 GB, free: 22.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01185, allocations: 0 / 0.5519 GB, free: 22.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000172/0.01202, allocations: 258.1 kB / 0.5522 GB, free: 22.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.01204, allocations: 67.39 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01205, allocations: 4 kB / 0.5523 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.01205, allocations: 4 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.01222, allocations: 64.12 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01223, allocations: 7.938 kB / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.01233, allocations: 15.98 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01234, allocations: 12 kB / 0.5524 GB, free: 22.05 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: 8 * 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 (31): * Single equations (assignments): 29 * 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.465e-05/0.01243, allocations: 165.7 kB / 0.5525 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.01245, allocations: 15.98 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.01248, allocations: 29.94 kB / 0.5526 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01248, allocations: 11.31 kB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01248, allocations: 0 / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01248, allocations: 3.938 kB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.01274, allocations: 374.3 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01274, allocations: 0 / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.01287, allocations: 39.97 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.01289, allocations: 19.86 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01289, allocations: 0 / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.0129, allocations: 4 kB / 0.553 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.0129, allocations: 11.98 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01291, allocations: 3.938 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.0131, allocations: 339.9 kB / 0.5533 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.01312, allocations: 11.98 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01323, allocations: 12 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.01327, allocations: 23.83 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.01328, allocations: 8 kB / 0.5534 GB, free: 20.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.01333, allocations: 59.08 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01333, allocations: 0 / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.01356, allocations: 60 kB / 0.5535 GB, free: 20.8 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 (18): * Single equations (assignments): 15 * 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 5.91e-05/0.01362, allocations: 94.86 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01379, allocations: 308.5 kB / 0.5539 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.0138, allocations: 0 / 0.5539 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.022e-05/0.01387, allocations: 141.9 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01415, allocations: 96.75 kB / 0.5541 GB, free: 20.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.03027, allocations: 0.5589 MB / 0.5547 GB, free: 19.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.03031, allocations: 84.31 kB / 0.5547 GB, free: 19.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.851e-05/0.03039, allocations: 25.98 kB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.03053, allocations: 115.3 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.03053, allocations: 0 / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of Templates: time 0.004496/0.03502, allocations: 3.75 MB / 0.5585 GB, free: 15.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8256875844672322]