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.0009931/0.0009931, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009052/0.0009052, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9167/0.9167, allocations: 177.1 MB / 204.5 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.536/1.536, allocations: 273.5 MB / 0.522 GB, free: 14.73 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.273e-06/1.273e-06, allocations: 1.312 kB / 0.6482 GB, free: 38.5 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.48e-05, allocations: 4.125 kB / 0.6482 GB, free: 38.5 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001472/0.001487, allocations: 1.315 MB / 0.6494 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.001706, allocations: 107.3 kB / 0.6495 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.00173, allocations: 0 / 0.6495 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.001747, allocations: 0 / 0.6495 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.001817, allocations: 8.547 kB / 0.6496 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.001971, allocations: 3.594 kB / 0.6496 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.00203, allocations: 24.58 kB / 0.6496 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.002073, allocations: 3.984 kB / 0.6496 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.002106, allocations: 15.78 kB / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.002243, allocations: 7.75 kB / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.002254, allocations: 0 / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.00226, allocations: 0 / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.002271, allocations: 3.688 kB / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.002287, allocations: 7.141 kB / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.403e-05/0.002351, allocations: 9.812 kB / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002353, allocations: 0 / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002354, allocations: 1.281 kB / 0.6496 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002357, allocations: 1.312 kB / 0.6496 GB, free: 37.55 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.000241/0.002598, allocations: 350.6 kB / 0.65 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.002637, allocations: 9.438 kB / 0.65 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.002664, allocations: 2.969 kB / 0.65 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.00273, allocations: 117.8 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.002741, allocations: 2.531 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.002755, allocations: 1.531 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.068e-05/0.002825, allocations: 59.05 kB / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.002832, allocations: 192 / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.002838, allocations: 1.438 kB / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.002843, allocations: 2.594 kB / 0.6502 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.00286, allocations: 6.531 kB / 0.6502 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.003025, allocations: 231.3 kB / 0.6504 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.003076, allocations: 41.2 kB / 0.6504 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.033e-05/0.003086, allocations: 9.719 kB / 0.6504 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.003091, allocations: 0 / 0.6504 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.003104, allocations: 36.11 kB / 0.6505 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.003105, allocations: 0 / 0.6505 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 8.558e-05/0.00319, allocations: 47.16 kB / 0.6505 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.003212, allocations: 56.91 kB / 0.6506 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.003283, allocations: 161.6 kB / 0.6507 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.003289, allocations: 25.7 kB / 0.6507 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.003324, allocations: 137.9 kB / 0.6509 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.003331, allocations: 6.109 kB / 0.6509 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.003353, allocations: 18.8 kB / 0.6509 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.003408, allocations: 0.4893 MB / 0.6514 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.003416, allocations: 4.344 kB / 0.6514 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.003429, allocations: 17.66 kB / 0.6514 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.003467, allocations: 32.52 kB / 0.6514 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.003469, allocations: 3.375 kB / 0.6514 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.614e-05/0.003515, allocations: 44.08 kB / 0.6515 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.003527, allocations: 5.812 kB / 0.6515 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.003532, allocations: 3.609 kB / 0.6515 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.00354, allocations: 3.938 kB / 0.6515 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.003585, allocations: 11.06 kB / 0.6515 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.003589, allocations: 3.703 kB / 0.6515 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.003604, allocations: 0 / 0.6515 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.003608, allocations: 2.906 kB / 0.6515 GB, free: 35.58 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.438e-05/0.003693, allocations: 167.5 kB / 0.6517 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-06/0.003698, allocations: 6.172 kB / 0.6517 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.003717, allocations: 8.297 kB / 0.6517 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.003719, allocations: 3.938 kB / 0.6517 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.00372, allocations: 5.094 kB / 0.6517 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.003724, allocations: 0 / 0.6517 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.693e-05/0.003771, allocations: 93.58 kB / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.003771, allocations: 0 / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.003796, allocations: 3.906 kB / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003797, allocations: 2.25 kB / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.003805, allocations: 4.688 kB / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003806, allocations: 0 / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.003807, allocations: 1.969 kB / 0.6518 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.863e-05/0.003876, allocations: 84.89 kB / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.003882, allocations: 1.25 kB / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.00389, allocations: 1.469 kB / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.003898, allocations: 0 / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-06/0.003907, allocations: 3.562 kB / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.003909, allocations: 3.938 kB / 0.6519 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.811e-05/0.003927, allocations: 132.6 kB / 0.652 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003927, allocations: 0 / 0.652 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001087/0.004036, allocations: 11.28 kB / 0.652 GB, free: 35.07 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.113e-05/0.004097, allocations: 93.69 kB / 0.6521 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.04e-05/0.004157, allocations: 22.59 kB / 0.6521 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.004158, allocations: 0 / 0.6521 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.00417, allocations: 14.34 kB / 0.6521 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.004298, allocations: 12.08 kB / 0.6521 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.004786, allocations: 183.2 kB / 0.6523 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.003e-05/0.004806, allocations: 60.72 kB / 0.6524 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.598e-05/0.004822, allocations: 6 kB / 0.6524 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.004863, allocations: 71.27 kB / 0.6525 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of SimCode: time 6.01e-07/0.004863, allocations: 2.188 kB / 0.6525 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of Templates: time 0.001673/0.006537, allocations: 434.2 kB / 0.6529 GB, free: 34.61 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.389081321191043]