Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.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.0006507/0.0006507, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008934/0.001544, 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.000687/0.000687, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008922/0.001579, 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.9544/0.9544, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08451/1.039, 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.7516/0.7516, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0312/0.7828, allocations: 21.05 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_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.11e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.00166/0.001671, allocations: 1.366 MB / 0.5459 GB, free: 28.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.0018, allocations: 103.6 kB / 0.546 GB, free: 28.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.001814, allocations: 0 / 0.546 GB, free: 28.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.063e-06/0.001821, allocations: 4 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.001847, allocations: 7.938 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.931e-05/0.001897, allocations: 7.922 kB / 0.546 GB, free: 28.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.001949, allocations: 23.86 kB / 0.5461 GB, free: 28.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.001984, allocations: 4 kB / 0.5461 GB, free: 28.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.002032, allocations: 7.984 kB / 0.5461 GB, free: 28.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.002134, allocations: 4 kB / 0.5461 GB, free: 28.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.002146, allocations: 4 kB / 0.5461 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.002153, allocations: 0 / 0.5461 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.002166, allocations: 3.938 kB / 0.5461 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.002182, allocations: 8 kB / 0.5461 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.922e-05/0.002242, allocations: 7.984 kB / 0.5461 GB, free: 28.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.002252, allocations: 0 / 0.5461 GB, free: 28.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.002252, allocations: 0 / 0.5461 GB, free: 28.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.00226, allocations: 0 / 0.5461 GB, free: 28.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002677/0.002528, allocations: 220.7 kB / 0.5463 GB, free: 28.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.002559, allocations: 11.89 kB / 0.5463 GB, free: 28.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.002584, allocations: 8.922 kB / 0.5463 GB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.408e-05/0.002648, allocations: 113.7 kB / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.002657, allocations: 384 / 0.5464 GB, free: 28.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.002675, allocations: 4.375 kB / 0.5464 GB, free: 28.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.002737, allocations: 47.97 kB / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.002743, allocations: 192 / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-06/0.002748, allocations: 384 / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.002754, allocations: 384 / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.341e-05/0.002767, allocations: 11.88 kB / 0.5465 GB, free: 28.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.00306, allocations: 175.6 kB / 0.5467 GB, free: 27.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.762e-05/0.003088, allocations: 22.58 kB / 0.5467 GB, free: 27.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-06/0.003096, allocations: 4.859 kB / 0.5467 GB, free: 27.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-06/0.0031, allocations: 4 kB / 0.5467 GB, free: 27.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.003117, allocations: 34.62 kB / 0.5467 GB, free: 27.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.003117, allocations: 0 / 0.5467 GB, free: 27.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.8e-05/0.003195, allocations: 37.62 kB / 0.5468 GB, free: 27.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.003213, allocations: 55.34 kB / 0.5468 GB, free: 27.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.529e-05/0.003259, allocations: 102.7 kB / 0.5469 GB, free: 27.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.003265, allocations: 29.7 kB / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.00329, allocations: 85.19 kB / 0.547 GB, free: 27.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.003297, allocations: 3.984 kB / 0.547 GB, free: 27.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.003322, allocations: 17.72 kB / 0.547 GB, free: 27.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.003352, allocations: 319 kB / 0.5474 GB, free: 27.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.003357, allocations: 0 / 0.5474 GB, free: 27.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.003367, allocations: 13.72 kB / 0.5474 GB, free: 27.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.003404, allocations: 29.14 kB / 0.5474 GB, free: 27.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.003406, allocations: 0 / 0.5474 GB, free: 27.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.352e-05/0.00345, allocations: 41.62 kB / 0.5474 GB, free: 27.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.003461, allocations: 8 kB / 0.5474 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.003465, allocations: 96 / 0.5474 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003477, allocations: 4 kB / 0.5474 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.00351, allocations: 7.938 kB / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.003513, allocations: 4 kB / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.003532, allocations: 0 / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.003536, allocations: 0 / 0.5475 GB, free: 27.05 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: C:VARIABLE(min = -1e-9 start = 0.022857142857142857 unit = \"kg/m3\" fixed = true ) \"Concentration of drug\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.044e-05/0.003617, allocations: 125.7 kB / 0.5476 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.003622, allocations: 3.984 kB / 0.5476 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.003638, allocations: 5.672 kB / 0.5476 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.003639, allocations: 8 kB / 0.5476 GB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.003641, allocations: 3.938 kB / 0.5476 GB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.003644, allocations: 0 / 0.5476 GB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.003801, allocations: 93.88 kB / 0.5477 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.003802, allocations: 0 / 0.5477 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.003817, allocations: 0 / 0.5477 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.003823, allocations: 7.984 kB / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.003825, allocations: 240 / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.003832, allocations: 3.938 kB / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.003833, allocations: 0 / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.003834, allocations: 11.88 kB / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.368e-05/0.003898, allocations: 61.11 kB / 0.5478 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.003906, allocations: 4 kB / 0.5478 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.003918, allocations: 4 kB / 0.5478 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-06/0.003927, allocations: 3.984 kB / 0.5478 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.003929, allocations: 3.312 kB / 0.5478 GB, free: 26.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.139e-05/0.003941, allocations: 12.8 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003941, allocations: 0 / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001321/0.004073, allocations: 4 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.624e-05/0.004129, allocations: 76.48 kB / 0.5479 GB, free: 26.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.94e-05/0.004178, allocations: 16.8 kB / 0.5479 GB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.004183, allocations: 0 / 0.5479 GB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.004191, allocations: 12.84 kB / 0.5479 GB, free: 26.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.284e-05/0.004284, allocations: 4 kB / 0.5479 GB, free: 26.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.005603, allocations: 161.3 kB / 0.5481 GB, free: 26.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.285e-05/0.005626, allocations: 51.36 kB / 0.5481 GB, free: 26.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.785e-05/0.005644, allocations: 4 kB / 0.5481 GB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.00568, allocations: 51.38 kB / 0.5482 GB, free: 26.22 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00568, allocations: 0 / 0.5482 GB, free: 26.22 MB / 410.7 MB Notification: Performance of Templates: time 0.001838/0.007519, allocations: 393.7 kB / 0.5485 GB, free: 25.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1387547720223665]