Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.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.0009388/0.0009388, allocations: 93.06 kB / 19.65 MB, free: 276 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.001567/0.001567, allocations: 169 kB / 23.02 MB, free: 1.543 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.899/0.899, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.9/1.9, allocations: 273.5 MB / 0.5209 GB, free: 14.8 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_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 0.647 GB, free: 38.69 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.532e-05, allocations: 4.984 kB / 0.647 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001398/0.001413, allocations: 1.321 MB / 0.6482 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.001656, allocations: 97.98 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.001682, allocations: 0 / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.001702, allocations: 1.812 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.001763, allocations: 5.062 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.001928, allocations: 16 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.001985, allocations: 17.91 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.002022, allocations: 6.922 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.002056, allocations: 7.188 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.002194, allocations: 9.156 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.002207, allocations: 1.5 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-06/0.002215, allocations: 0 / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.002225, allocations: 1.422 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.002245, allocations: 12.95 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.165e-05/0.002307, allocations: 13.75 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.00231, allocations: 2.156 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.52e-07/0.00231, allocations: 0 / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002314, allocations: 0 / 0.6484 GB, free: 37.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002858/0.0026, allocations: 345.5 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.002638, allocations: 9.844 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.002671, allocations: 2.844 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.863e-05/0.00274, allocations: 119.4 kB / 0.6489 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.00275, allocations: 384 / 0.6489 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.00277, allocations: 6.719 kB / 0.6489 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/0.002855, allocations: 52.7 kB / 0.6489 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.002864, allocations: 1.969 kB / 0.6489 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.002872, allocations: 3.562 kB / 0.6489 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.00288, allocations: 384 / 0.6489 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.002903, allocations: 8.656 kB / 0.649 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.003096, allocations: 250.2 kB / 0.6492 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/0.003147, allocations: 35.03 kB / 0.6492 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.003161, allocations: 9.875 kB / 0.6492 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.003168, allocations: 2.969 kB / 0.6492 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.003184, allocations: 36.89 kB / 0.6493 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.003184, allocations: 0 / 0.6493 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001073/0.003292, allocations: 50.66 kB / 0.6493 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.003311, allocations: 52.72 kB / 0.6494 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.003365, allocations: 159.2 kB / 0.6495 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.00337, allocations: 25.7 kB / 0.6496 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.003402, allocations: 136.2 kB / 0.6497 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.003409, allocations: 6.953 kB / 0.6497 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.003442, allocations: 17.25 kB / 0.6497 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.003493, allocations: 0.4913 MB / 0.6502 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.003504, allocations: 1.562 kB / 0.6502 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.003517, allocations: 22.75 kB / 0.6502 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.003556, allocations: 37.58 kB / 0.6502 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.003558, allocations: 0 / 0.6502 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.411e-05/0.003602, allocations: 51.16 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.003613, allocations: 6.953 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.003618, allocations: 3.938 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.003631, allocations: 3.25 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.146e-05/0.003673, allocations: 3.906 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.003678, allocations: 5.953 kB / 0.6503 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.003691, allocations: 2.25 kB / 0.6503 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.003695, allocations: 1.562 kB / 0.6503 GB, free: 35.73 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) \"Mass of drug [kg]\" 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 (4): * Single equations (assignments): 4 * 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 6.808e-05/0.003763, allocations: 168.9 kB / 0.6505 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-06/0.003768, allocations: 3.953 kB / 0.6505 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.003784, allocations: 10.38 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.003786, allocations: 0 / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.003788, allocations: 4.875 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.003791, allocations: 0 / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.147e-05/0.003832, allocations: 119.6 kB / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.003833, allocations: 0 / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.003862, allocations: 1.719 kB / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.003864, allocations: 1.719 kB / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.003871, allocations: 1.438 kB / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.003873, allocations: 3.938 kB / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.003875, allocations: 6.25 kB / 0.6506 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.28e-05/0.003948, allocations: 78.06 kB / 0.6507 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.003954, allocations: 0 / 0.6507 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.003964, allocations: 2.219 kB / 0.6507 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.003973, allocations: 8.297 kB / 0.6507 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.003986, allocations: 1.312 kB / 0.6507 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.003988, allocations: 2.25 kB / 0.6507 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.849e-05/0.004006, allocations: 129.7 kB / 0.6508 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004006, allocations: 1.219 kB / 0.6508 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001109/0.004117, allocations: 6.594 kB / 0.6508 GB, free: 35.2 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (2): * Single equations (assignments): 2 * 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.184e-05/0.004169, allocations: 95.38 kB / 0.6509 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.004242, allocations: 20.78 kB / 0.651 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.004243, allocations: 0 / 0.651 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.004252, allocations: 17.09 kB / 0.651 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.00439, allocations: 5.062 kB / 0.651 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.004965, allocations: 194.7 kB / 0.6512 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.992e-05/0.004985, allocations: 58.25 kB / 0.6512 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.592e-05/0.005001, allocations: 5.594 kB / 0.6512 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.00502, allocations: 12.16 kB / 0.6512 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of SimCode: time 5.91e-07/0.00502, allocations: 0 / 0.6512 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of Templates: time 0.00187/0.00689, allocations: 404.5 kB / 0.6516 GB, free: 34.8 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.583256391342729]