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.0008853/0.0008853, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000933/0.000933, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.004/1.004, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.61/1.61, allocations: 273.5 MB / 0.5212 GB, free: 14.67 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 1.573e-06/1.573e-06, allocations: 0 / 0.6474 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.918e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.002579/0.002598, allocations: 1.317 MB / 0.6487 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.002894, allocations: 95.78 kB / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.002923, allocations: 0 / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.002944, allocations: 1.062 kB / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.003012, allocations: 8.609 kB / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.003189, allocations: 10.58 kB / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.003248, allocations: 20.59 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.003289, allocations: 5.578 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.003329, allocations: 10.41 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.003472, allocations: 8.828 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.003487, allocations: 3.25 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.003497, allocations: 0.5625 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.003508, allocations: 0.6562 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.003534, allocations: 6.5 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.003601, allocations: 15.62 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003603, allocations: 0.625 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003604, allocations: 1.469 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003607, allocations: 0.5625 kB / 0.6489 GB, free: 37.48 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.0002798/0.003887, allocations: 345.5 kB / 0.6492 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.003932, allocations: 10.84 kB / 0.6492 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.003962, allocations: 5.188 kB / 0.6492 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.688e-05/0.004029, allocations: 118.3 kB / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.004041, allocations: 384 / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004056, allocations: 2.5 kB / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.622e-05/0.004132, allocations: 54.72 kB / 0.6494 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004139, allocations: 1.562 kB / 0.6494 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.004145, allocations: 384 / 0.6494 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.004152, allocations: 3.938 kB / 0.6494 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.004175, allocations: 16.02 kB / 0.6494 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.004356, allocations: 225.9 kB / 0.6496 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.004408, allocations: 40.19 kB / 0.6497 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.004421, allocations: 10.72 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.004428, allocations: 1.719 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.004446, allocations: 40.98 kB / 0.6497 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.004447, allocations: 0 / 0.6497 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001195/0.004567, allocations: 42.58 kB / 0.6497 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.004594, allocations: 56.72 kB / 0.6498 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.004663, allocations: 153.3 kB / 0.6499 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.00467, allocations: 28.08 kB / 0.65 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.004705, allocations: 138.3 kB / 0.6501 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-06/0.004714, allocations: 5.359 kB / 0.6501 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.004741, allocations: 18.81 kB / 0.6501 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.0048, allocations: 494.4 kB / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.00481, allocations: 8.641 kB / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.004827, allocations: 31.23 kB / 0.6506 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.004867, allocations: 22.38 kB / 0.6507 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.004872, allocations: 1.281 kB / 0.6507 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.555e-05/0.004938, allocations: 51.62 kB / 0.6507 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.004952, allocations: 5.625 kB / 0.6507 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004957, allocations: 3.719 kB / 0.6507 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.004969, allocations: 3.938 kB / 0.6507 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.005025, allocations: 9.281 kB / 0.6507 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005028, allocations: 0 / 0.6507 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.00505, allocations: 3.625 kB / 0.6507 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.005054, allocations: 2.062 kB / 0.6507 GB, free: 35.51 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 8.607e-05/0.00514, allocations: 165.4 kB / 0.6509 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.00515, allocations: 7.531 kB / 0.6509 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.005173, allocations: 8.656 kB / 0.6509 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.005177, allocations: 9.812 kB / 0.6509 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.00518, allocations: 3.375 kB / 0.6509 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.005183, allocations: 0 / 0.6509 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.846e-05/0.005242, allocations: 97.77 kB / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.005244, allocations: 3.094 kB / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.005279, allocations: 3.938 kB / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005281, allocations: 1.406 kB / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.005289, allocations: 0 / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005291, allocations: 0 / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005292, allocations: 0 / 0.651 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.262e-05/0.005384, allocations: 82.2 kB / 0.6511 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.005394, allocations: 10.38 kB / 0.6511 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.005405, allocations: 3.094 kB / 0.6511 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.005418, allocations: 0 / 0.6511 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.005429, allocations: 2.344 kB / 0.6511 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.005432, allocations: 3.938 kB / 0.6511 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.005451, allocations: 122.3 kB / 0.6512 GB, free: 35 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.005451, allocations: 0 / 0.6512 GB, free: 35 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001971/0.005648, allocations: 9.406 kB / 0.6512 GB, free: 35 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 6.469e-05/0.005713, allocations: 102.7 kB / 0.6513 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.523e-05/0.005778, allocations: 15.94 kB / 0.6514 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00578, allocations: 1.281 kB / 0.6514 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.00579, allocations: 15.16 kB / 0.6514 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.005971, allocations: 12.77 kB / 0.6514 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.006647, allocations: 191.2 kB / 0.6516 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.256e-05/0.00667, allocations: 61.34 kB / 0.6516 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.006689, allocations: 2.531 kB / 0.6516 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.006735, allocations: 74.89 kB / 0.6517 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of SimCode: time 4.81e-07/0.006736, allocations: 0 / 0.6517 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of Templates: time 0.002216/0.008952, allocations: 425 kB / 0.6521 GB, free: 34.54 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.719751006923616]