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.001058/0.001058, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001148/0.001148, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.8917/0.8917, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.568/1.568, allocations: 273.5 MB / 0.5209 GB, free: 14.82 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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 1.623e-06/1.623e-06, allocations: 0 / 0.6469 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.018e-05, allocations: 2.312 kB / 0.6469 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.00152/0.00154, allocations: 1.301 MB / 0.6482 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000224/0.001764, allocations: 95.69 kB / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.001784, allocations: 0 / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.001806, allocations: 3.938 kB / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.001863, allocations: 4.594 kB / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.002033, allocations: 15.11 kB / 0.6483 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.002087, allocations: 12.91 kB / 0.6483 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.002123, allocations: 6.312 kB / 0.6484 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.002153, allocations: 9.094 kB / 0.6484 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.002286, allocations: 12.91 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.0023, allocations: 1.156 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.002307, allocations: 1.469 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.002318, allocations: 0 / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.002337, allocations: 6.875 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.848e-05/0.002396, allocations: 5.781 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.002398, allocations: 5.156 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002399, allocations: 1.094 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002403, allocations: 0 / 0.6484 GB, free: 37.82 MB / 0.5262 GB 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.0002577/0.00266, allocations: 349.8 kB / 0.6487 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.002696, allocations: 9.344 kB / 0.6487 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.00273, allocations: 2.969 kB / 0.6487 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.00279, allocations: 111.3 kB / 0.6488 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.002799, allocations: 4.062 kB / 0.6488 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.002816, allocations: 1.688 kB / 0.6488 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.002892, allocations: 53.77 kB / 0.6489 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.002899, allocations: 192 / 0.6489 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.002907, allocations: 2.938 kB / 0.6489 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.002913, allocations: 384 / 0.6489 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.002928, allocations: 10.25 kB / 0.6489 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.003284, allocations: 279.9 kB / 0.6492 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.437e-05/0.003318, allocations: 26.78 kB / 0.6492 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.00333, allocations: 9.25 kB / 0.6492 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.003336, allocations: 0 / 0.6492 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.003351, allocations: 44.11 kB / 0.6493 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.003351, allocations: 0 / 0.6493 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001/0.003451, allocations: 36.84 kB / 0.6493 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.003483, allocations: 60.53 kB / 0.6494 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/0.003537, allocations: 159.8 kB / 0.6495 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.003542, allocations: 25.7 kB / 0.6495 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.003568, allocations: 128.6 kB / 0.6496 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.003576, allocations: 9.266 kB / 0.6497 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.003599, allocations: 22.22 kB / 0.6497 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.003644, allocations: 493.9 kB / 0.6502 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.003652, allocations: 0 / 0.6502 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.003664, allocations: 29.16 kB / 0.6502 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.0037, allocations: 26.16 kB / 0.6502 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003702, allocations: 0 / 0.6502 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.224e-05/0.003744, allocations: 46.77 kB / 0.6502 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.003755, allocations: 7.172 kB / 0.6503 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.003759, allocations: 3.938 kB / 0.6503 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.003771, allocations: 2.375 kB / 0.6503 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.65e-05/0.003798, allocations: 8.141 kB / 0.6503 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.003803, allocations: 6.328 kB / 0.6503 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.003819, allocations: 3.953 kB / 0.6503 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.003824, allocations: 1.75 kB / 0.6503 GB, free: 35.83 MB / 0.5262 GB 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.842e-05/0.003912, allocations: 159.5 kB / 0.6504 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-06/0.003919, allocations: 3.719 kB / 0.6504 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.003939, allocations: 7.094 kB / 0.6504 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.00394, allocations: 0 / 0.6504 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.003946, allocations: 13.64 kB / 0.6505 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.003949, allocations: 0 / 0.6505 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.004127, allocations: 140.5 kB / 0.6506 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004128, allocations: 1.406 kB / 0.6506 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.00415, allocations: 4.938 kB / 0.6506 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004151, allocations: 0 / 0.6506 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.004163, allocations: 0 / 0.6506 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.004165, allocations: 5.125 kB / 0.6506 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004166, allocations: 0 / 0.6506 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.549e-05/0.004252, allocations: 74.22 kB / 0.6507 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.00426, allocations: 2.156 kB / 0.6507 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.004273, allocations: 0 / 0.6507 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.485e-05/0.004288, allocations: 12.66 kB / 0.6507 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.004301, allocations: 1.375 kB / 0.6507 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004302, allocations: 0 / 0.6507 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.977e-05/0.004322, allocations: 128.1 kB / 0.6508 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004322, allocations: 3.938 kB / 0.6508 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001122/0.004434, allocations: 4.938 kB / 0.6508 GB, free: 35.3 MB / 0.5262 GB 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.167e-05/0.004486, allocations: 92.91 kB / 0.6509 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.004552, allocations: 18.27 kB / 0.6509 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004553, allocations: 2.375 kB / 0.6509 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/0.004559, allocations: 9.281 kB / 0.6509 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.004689, allocations: 7.438 kB / 0.6509 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.005208, allocations: 169.4 kB / 0.6511 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.986e-05/0.005227, allocations: 60.91 kB / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.667e-05/0.005244, allocations: 9.219 kB / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.005262, allocations: 9.812 kB / 0.6512 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of SimCode: time 7.01e-07/0.005263, allocations: 0 / 0.6512 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of Templates: time 0.001805/0.007068, allocations: 340.1 kB / 0.6515 GB, free: 34.91 MB / 0.5262 GB " [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: 4.334207403007895]