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.0008702/0.0008702, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.0008858/0.0008858, allocations: 169 kB / 23.5 MB, free: 1.039 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.9004/0.9004, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.55/1.55, allocations: 273.5 MB / 0.5213 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 1.583e-06/1.583e-06, allocations: 0 / 0.647 GB, free: 38.85 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.659e-05, allocations: 3.375 kB / 0.647 GB, free: 38.85 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001454/0.00147, allocations: 1.314 MB / 0.6483 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.001697, allocations: 99.17 kB / 0.6483 GB, free: 37.92 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.001725, allocations: 2.375 kB / 0.6483 GB, free: 37.92 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.001744, allocations: 3.938 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.001805, allocations: 2.734 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.001966, allocations: 8.594 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.966e-05/0.002026, allocations: 23.12 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.002066, allocations: 7.047 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.002097, allocations: 6.062 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.002225, allocations: 11.27 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.002238, allocations: 1.312 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.002244, allocations: 0 / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.002255, allocations: 1.312 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.002277, allocations: 4.156 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.989e-05/0.002337, allocations: 20.69 kB / 0.6484 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002338, allocations: 0.8125 kB / 0.6484 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.2e-07/0.002339, allocations: 1.312 kB / 0.6484 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.002343, allocations: 1 kB / 0.6484 GB, free: 37.89 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.0002542/0.002597, allocations: 340.8 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.002635, allocations: 9.812 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.002668, allocations: 3.562 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.774e-05/0.002736, allocations: 125.8 kB / 0.6489 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.002747, allocations: 3.688 kB / 0.6489 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.002765, allocations: 1.188 kB / 0.6489 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.002844, allocations: 51.23 kB / 0.6489 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.002851, allocations: 1.406 kB / 0.649 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.00286, allocations: 1.781 kB / 0.649 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.002867, allocations: 4.062 kB / 0.649 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.002894, allocations: 15.97 kB / 0.649 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.003077, allocations: 245.3 kB / 0.6492 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.003127, allocations: 36.81 kB / 0.6492 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.003144, allocations: 13.44 kB / 0.6493 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.003151, allocations: 1 kB / 0.6493 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.003166, allocations: 36.61 kB / 0.6493 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003167, allocations: 1.312 kB / 0.6493 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.003284, allocations: 43.22 kB / 0.6493 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.003307, allocations: 58.06 kB / 0.6494 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.00336, allocations: 159.5 kB / 0.6495 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.003365, allocations: 25.7 kB / 0.6496 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.003391, allocations: 130.8 kB / 0.6497 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-06/0.0034, allocations: 12.23 kB / 0.6497 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.00342, allocations: 22.12 kB / 0.6497 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.003468, allocations: 499.4 kB / 0.6502 GB, free: 36 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.003478, allocations: 2.094 kB / 0.6502 GB, free: 36 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.003491, allocations: 22.86 kB / 0.6502 GB, free: 35.97 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.003533, allocations: 33.62 kB / 0.6503 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.003534, allocations: 1.203 kB / 0.6503 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.842e-05/0.003583, allocations: 51.41 kB / 0.6503 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.003595, allocations: 6.969 kB / 0.6503 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.003599, allocations: 3.938 kB / 0.6503 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.003613, allocations: 2.219 kB / 0.6503 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.003664, allocations: 4.656 kB / 0.6503 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.003669, allocations: 3.188 kB / 0.6503 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.003685, allocations: 1.25 kB / 0.6503 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003689, allocations: 1.656 kB / 0.6503 GB, free: 35.9 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.245e-05/0.003772, allocations: 175.5 kB / 0.6505 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.003778, allocations: 6.234 kB / 0.6505 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.003797, allocations: 8.672 kB / 0.6505 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003798, allocations: 0 / 0.6505 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.003803, allocations: 3.531 kB / 0.6505 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.003806, allocations: 0 / 0.6505 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.92e-05/0.003845, allocations: 112.6 kB / 0.6506 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.003846, allocations: 4.75 kB / 0.6506 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.003875, allocations: 1.406 kB / 0.6506 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.003877, allocations: 1.969 kB / 0.6506 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.003887, allocations: 0 / 0.6506 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.003888, allocations: 5.344 kB / 0.6506 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.003889, allocations: 0 / 0.6506 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.239e-05/0.003962, allocations: 79.3 kB / 0.6507 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.003969, allocations: 8.75 kB / 0.6507 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.003979, allocations: 3.031 kB / 0.6507 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.003987, allocations: 3.938 kB / 0.6507 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.004, allocations: 5.594 kB / 0.6507 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.004002, allocations: 1.438 kB / 0.6507 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.538e-05/0.004017, allocations: 125.8 kB / 0.6508 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004017, allocations: 0 / 0.6508 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001185/0.004136, allocations: 9.75 kB / 0.6509 GB, free: 35.36 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.13e-05/0.004187, allocations: 92.34 kB / 0.6509 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.004256, allocations: 21.89 kB / 0.651 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.004257, allocations: 0 / 0.651 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.766e-06/0.004266, allocations: 17.78 kB / 0.651 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.004404, allocations: 6.875 kB / 0.651 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.004998, allocations: 185.4 kB / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.972e-05/0.005018, allocations: 62.28 kB / 0.6512 GB, free: 35.03 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.005036, allocations: 3.328 kB / 0.6512 GB, free: 35.03 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.005054, allocations: 10.88 kB / 0.6512 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of SimCode: time 8.01e-07/0.005055, allocations: 0.5312 kB / 0.6512 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of Templates: time 0.001854/0.006909, allocations: 387.5 kB / 0.6516 GB, free: 34.97 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.408360895002261]