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.0009832/0.0009832, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001045/0.001045, allocations: 173 kB / 23.5 MB, free: 1.055 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.911/0.911, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.549/1.549, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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.353e-06/1.353e-06, allocations: 0 / 0.647 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.619e-05, allocations: 6.234 kB / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001413/0.001429, allocations: 1.299 MB / 0.6482 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002116/0.001641, allocations: 99.98 kB / 0.6483 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.001665, allocations: 0 / 0.6483 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.001687, allocations: 0 / 0.6483 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.001745, allocations: 4.531 kB / 0.6483 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.001903, allocations: 16.28 kB / 0.6483 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.001954, allocations: 11 kB / 0.6484 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.001992, allocations: 2.375 kB / 0.6484 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.002023, allocations: 14.56 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.002152, allocations: 8.375 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.002165, allocations: 0 / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-06/0.002172, allocations: 3.688 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.002181, allocations: 1.438 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.0022, allocations: 2.75 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.088e-05/0.002261, allocations: 8.734 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002263, allocations: 3.141 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.51e-07/0.002264, allocations: 1.5 kB / 0.6484 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.002268, allocations: 2.531 kB / 0.6484 GB, free: 37.77 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.0002456/0.002514, allocations: 343.3 kB / 0.6487 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.002549, allocations: 9.844 kB / 0.6487 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.002582, allocations: 4.406 kB / 0.6487 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.002648, allocations: 109 kB / 0.6488 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.002659, allocations: 4.312 kB / 0.6489 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.002676, allocations: 384 / 0.6489 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.452e-05/0.002751, allocations: 54.02 kB / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.002756, allocations: 192 / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.002764, allocations: 384 / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.00277, allocations: 3.281 kB / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.002785, allocations: 6.031 kB / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.003132, allocations: 285.9 kB / 0.6492 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.928e-05/0.003161, allocations: 29.44 kB / 0.6492 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.003174, allocations: 9.344 kB / 0.6492 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.003181, allocations: 0 / 0.6492 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.003195, allocations: 36.42 kB / 0.6493 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.003195, allocations: 0 / 0.6493 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.003301, allocations: 44.83 kB / 0.6493 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.003319, allocations: 51.41 kB / 0.6494 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.003372, allocations: 164.9 kB / 0.6495 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-06/0.003377, allocations: 25.7 kB / 0.6495 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.003404, allocations: 129.9 kB / 0.6497 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.003412, allocations: 7.422 kB / 0.6497 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.003433, allocations: 22.34 kB / 0.6497 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.003479, allocations: 497.1 kB / 0.6502 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.003488, allocations: 0 / 0.6502 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.0035, allocations: 20.41 kB / 0.6502 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.003536, allocations: 35.91 kB / 0.6502 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003538, allocations: 1.75 kB / 0.6502 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.908e-05/0.003587, allocations: 41.36 kB / 0.6503 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.0036, allocations: 5.875 kB / 0.6503 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.003606, allocations: 7.281 kB / 0.6503 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.003617, allocations: 6.156 kB / 0.6503 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.003644, allocations: 7.312 kB / 0.6503 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.00365, allocations: 0 / 0.6503 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.003667, allocations: 9.922 kB / 0.6503 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.003672, allocations: 0 / 0.6503 GB, free: 35.78 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 7.823e-05/0.00375, allocations: 157.5 kB / 0.6504 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.003755, allocations: 2.219 kB / 0.6504 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.003774, allocations: 15.83 kB / 0.6505 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.003776, allocations: 0 / 0.6505 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.003779, allocations: 0 / 0.6505 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.003782, allocations: 3.562 kB / 0.6505 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.003926, allocations: 143.5 kB / 0.6506 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.003926, allocations: 1.75 kB / 0.6506 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.003941, allocations: 3.875 kB / 0.6506 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.003942, allocations: 0 / 0.6506 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.003953, allocations: 0 / 0.6506 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.003954, allocations: 3.938 kB / 0.6506 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.003954, allocations: 1.25 kB / 0.6506 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.91e-05/0.004023, allocations: 78.16 kB / 0.6507 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.004031, allocations: 2.719 kB / 0.6507 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.004041, allocations: 3.141 kB / 0.6507 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-06/0.00405, allocations: 4.75 kB / 0.6507 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.004063, allocations: 0.6562 kB / 0.6507 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.004065, allocations: 3.766 kB / 0.6507 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.814e-05/0.004083, allocations: 121.8 kB / 0.6508 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004083, allocations: 0 / 0.6508 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001164/0.004199, allocations: 5.875 kB / 0.6508 GB, free: 35.26 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.349e-05/0.004253, allocations: 98.84 kB / 0.6509 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.257e-05/0.004315, allocations: 19.88 kB / 0.6509 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.004317, allocations: 1.562 kB / 0.6509 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-06/0.004325, allocations: 9.156 kB / 0.6509 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.004455, allocations: 6.688 kB / 0.6509 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.004987, allocations: 180 kB / 0.6511 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.795e-05/0.005004, allocations: 61.16 kB / 0.6512 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.00502, allocations: 3.906 kB / 0.6512 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.005038, allocations: 8.5 kB / 0.6512 GB, free: 34.92 MB / 0.5262 GB Notification: Performance of SimCode: time 5.41e-07/0.005039, allocations: 0.6562 kB / 0.6512 GB, free: 34.92 MB / 0.5262 GB Notification: Performance of Templates: time 0.001615/0.006653, allocations: 332.8 kB / 0.6515 GB, free: 34.87 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.470313937170431]