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.001855/0.001855, allocations: 85.48 kB / 19.44 MB, free: 344 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.002049/0.002049, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.442/3.442, allocations: 274.5 MB / 0.5215 GB, free: 14.12 MB / 458.7 MB " [Timeout remaining time 176] 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 2.384e-06/2.384e-06, allocations: 1.562 kB / 0.6472 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.21e-05, allocations: 8.953 kB / 0.6472 GB, free: 39.02 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.00198/0.002022, allocations: 1.271 MB / 0.6485 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.002275, allocations: 96.33 kB / 0.6486 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.002303, allocations: 1.312 kB / 0.6486 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.002317, allocations: 4.984 kB / 0.6486 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.002379, allocations: 1.812 kB / 0.6486 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.002521, allocations: 6.75 kB / 0.6486 GB, free: 38.1 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.002573, allocations: 27.34 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.002614, allocations: 0.9062 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.002648, allocations: 8.359 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.002786, allocations: 6.938 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.002803, allocations: 1.312 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.002813, allocations: 1.156 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.002825, allocations: 1.312 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.002846, allocations: 4.344 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.452e-05/0.002911, allocations: 7.422 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002913, allocations: 0 / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002914, allocations: 1.312 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.002928, allocations: 2.594 kB / 0.6486 GB, free: 38.09 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.0003324/0.003261, allocations: 346.8 kB / 0.649 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.003305, allocations: 10.25 kB / 0.649 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.003348, allocations: 4.906 kB / 0.649 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.003426, allocations: 108.6 kB / 0.6491 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.003442, allocations: 1.031 kB / 0.6491 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.003463, allocations: 7.266 kB / 0.6491 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.003564, allocations: 53.73 kB / 0.6491 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.003573, allocations: 192 / 0.6491 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.003583, allocations: 3.219 kB / 0.6491 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003587, allocations: 384 / 0.6491 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.003611, allocations: 7.703 kB / 0.6492 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.004146, allocations: 283.8 kB / 0.6494 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.004195, allocations: 29.5 kB / 0.6495 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.004214, allocations: 7.688 kB / 0.6495 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.004222, allocations: 2.062 kB / 0.6495 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.00424, allocations: 42.95 kB / 0.6495 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.00424, allocations: 0 / 0.6495 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.004391, allocations: 44.31 kB / 0.6495 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.004418, allocations: 52.25 kB / 0.6496 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.004497, allocations: 160 kB / 0.6497 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.004505, allocations: 30.16 kB / 0.6498 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.004546, allocations: 127.6 kB / 0.6499 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.004557, allocations: 8.641 kB / 0.6499 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.004589, allocations: 24.97 kB / 0.6499 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.004673, allocations: 493 kB / 0.6504 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.004688, allocations: 5.641 kB / 0.6504 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.004704, allocations: 19.44 kB / 0.6504 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.004752, allocations: 33 kB / 0.6505 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004754, allocations: 1.406 kB / 0.6505 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.181e-05/0.004826, allocations: 46.39 kB / 0.6505 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.004838, allocations: 5.031 kB / 0.6505 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.004844, allocations: 8.969 kB / 0.6505 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.004859, allocations: 3.656 kB / 0.6505 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.004897, allocations: 6.312 kB / 0.6505 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.004903, allocations: 1.625 kB / 0.6505 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.00493, allocations: 2.641 kB / 0.6505 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.004937, allocations: 5.781 kB / 0.6505 GB, free: 36.1 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 0.000101/0.005038, allocations: 164 kB / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.005045, allocations: 1.75 kB / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.005067, allocations: 10.19 kB / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.005069, allocations: 0 / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.005072, allocations: 0 / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005074, allocations: 0 / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.005318, allocations: 146 kB / 0.6508 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005319, allocations: 0 / 0.6508 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.005347, allocations: 5.938 kB / 0.6508 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005349, allocations: 1.5 kB / 0.6508 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.005356, allocations: 2.312 kB / 0.6508 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.005359, allocations: 5.906 kB / 0.6509 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005359, allocations: 0 / 0.6509 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.038e-05/0.00545, allocations: 75.52 kB / 0.6509 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-06/0.005458, allocations: 4 kB / 0.6509 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.005472, allocations: 2.938 kB / 0.6509 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.005493, allocations: 7.125 kB / 0.6509 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.005512, allocations: 2.062 kB / 0.6509 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.005515, allocations: 0 / 0.6509 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.005542, allocations: 126.9 kB / 0.6511 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.005542, allocations: 1.281 kB / 0.6511 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001934/0.005736, allocations: 4.812 kB / 0.6511 GB, free: 35.57 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 7.023e-05/0.005806, allocations: 91.97 kB / 0.6512 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.005891, allocations: 24.91 kB / 0.6512 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.005893, allocations: 1.719 kB / 0.6512 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.005903, allocations: 9.469 kB / 0.6512 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.006071, allocations: 5.25 kB / 0.6512 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.006365, allocations: 157.9 kB / 0.6513 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.0064, allocations: 64.39 kB / 0.6514 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.006421, allocations: 3.906 kB / 0.6514 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.006439, allocations: 11.41 kB / 0.6514 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of SimCode: time 4.51e-07/0.006439, allocations: 0 / 0.6514 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of Templates: time 0.002926/0.009366, allocations: 326.1 kB / 0.6517 GB, free: 35.19 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: 8.22637280903291]