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.001854/0.001854, 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.002141/0.002141, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.654/1.654, allocations: 177.1 MB / 203.1 MB, free: 5.266 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 5.771/5.771, allocations: 274.5 MB / 0.5215 GB, free: 14.18 MB / 458.7 MB " [Timeout remaining time 173] 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 3.116e-06/3.116e-06, allocations: 0 / 0.6472 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.169e-05/5.48e-05, allocations: 3.734 kB / 0.6472 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.003326/0.003381, allocations: 1.289 MB / 0.6485 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0004229/0.003804, allocations: 102.4 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.003855, allocations: 1.5 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.003883, allocations: 7.266 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003995, allocations: 3.922 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.004278, allocations: 6.922 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.004373, allocations: 17.67 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.004449, allocations: 3.984 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.004511, allocations: 15.22 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.004754, allocations: 6.109 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.004781, allocations: 3.938 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.004795, allocations: 3.875 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.004816, allocations: 5.031 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.004854, allocations: 2.844 kB / 0.6487 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.004973, allocations: 8.969 kB / 0.6487 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.004981, allocations: 2.75 kB / 0.6487 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.284e-06/0.004984, allocations: 0 / 0.6487 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.004992, allocations: 0 / 0.6487 GB, free: 38.08 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.0006219/0.005614, allocations: 350.9 kB / 0.649 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 8.167e-05/0.005695, allocations: 8.844 kB / 0.649 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.005766, allocations: 2.125 kB / 0.649 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005904, allocations: 109.2 kB / 0.6491 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.005922, allocations: 6.594 kB / 0.6491 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.005954, allocations: 7.641 kB / 0.6491 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.00611, allocations: 50.56 kB / 0.6492 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.006137, allocations: 6.562 kB / 0.6492 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.006156, allocations: 3.938 kB / 0.6492 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.006164, allocations: 384 / 0.6492 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.006227, allocations: 14.97 kB / 0.6492 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.006624, allocations: 252.3 kB / 0.6494 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.006728, allocations: 41.62 kB / 0.6495 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.006761, allocations: 15.36 kB / 0.6495 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.006776, allocations: 0 / 0.6495 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.006803, allocations: 34.98 kB / 0.6495 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.006804, allocations: 1.031 kB / 0.6495 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.007004, allocations: 45.2 kB / 0.6496 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.007047, allocations: 54.22 kB / 0.6496 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.007177, allocations: 161.6 kB / 0.6498 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.00719, allocations: 30.95 kB / 0.6498 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.00725, allocations: 132.2 kB / 0.6499 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.007264, allocations: 6.578 kB / 0.6499 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.007301, allocations: 25.39 kB / 0.65 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.007461, allocations: 493.5 kB / 0.6504 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.00748, allocations: 4.062 kB / 0.6504 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.007507, allocations: 27.64 kB / 0.6505 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.007581, allocations: 30.69 kB / 0.6505 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007583, allocations: 1.281 kB / 0.6505 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.405e-05/0.007667, allocations: 52.83 kB / 0.6505 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.007694, allocations: 5.938 kB / 0.6506 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.007702, allocations: 6.734 kB / 0.6506 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.007726, allocations: 1.469 kB / 0.6506 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.00781, allocations: 4.844 kB / 0.6506 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.007819, allocations: 0.9375 kB / 0.6506 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.007847, allocations: 2.562 kB / 0.6506 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.007858, allocations: 9.625 kB / 0.6506 GB, free: 36.07 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 0.0002024/0.00806, allocations: 161.2 kB / 0.6507 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.00807, allocations: 1.531 kB / 0.6507 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.008105, allocations: 7.25 kB / 0.6507 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008107, allocations: 1.625 kB / 0.6507 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.008114, allocations: 4.562 kB / 0.6507 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.008122, allocations: 5.969 kB / 0.6507 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.008223, allocations: 118.8 kB / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008224, allocations: 2.188 kB / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.008285, allocations: 2.5 kB / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.008286, allocations: 2.375 kB / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008296, allocations: 0 / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.0083, allocations: 5.25 kB / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.008302, allocations: 3.984 kB / 0.6509 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.008458, allocations: 84.73 kB / 0.651 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.00847, allocations: 2.125 kB / 0.651 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.00849, allocations: 3.422 kB / 0.651 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.008513, allocations: 3.938 kB / 0.651 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.008545, allocations: 7.062 kB / 0.651 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.008548, allocations: 0 / 0.651 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.008601, allocations: 124 kB / 0.6511 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.008601, allocations: 0 / 0.6511 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002038/0.008805, allocations: 7.375 kB / 0.6511 GB, free: 35.54 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 0.0001383/0.008943, allocations: 91.38 kB / 0.6512 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.00907, allocations: 27.14 kB / 0.6512 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.009075, allocations: 0.5625 kB / 0.6512 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.009097, allocations: 15.47 kB / 0.6512 GB, free: 35.42 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.00935, allocations: 15.03 kB / 0.6512 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.009849, allocations: 158.2 kB / 0.6514 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.009897, allocations: 63.59 kB / 0.6515 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.009923, allocations: 2.844 kB / 0.6515 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.009955, allocations: 11.44 kB / 0.6515 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of SimCode: time 8.72e-07/0.009956, allocations: 0 / 0.6515 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of Templates: time 0.00397/0.01393, allocations: 394.6 kB / 0.6518 GB, free: 35.14 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: 11.196122286026366]