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.001176/0.001176, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001056/0.001056, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9579/0.9579, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.632/1.632, allocations: 273.5 MB / 0.5209 GB, free: 15.06 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_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 1.643e-06/1.643e-06, allocations: 0 / 0.7558 GB, free: 10.8 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.499e-05, allocations: 2.281 kB / 0.7558 GB, free: 10.8 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001753/0.001778, allocations: 1.27 MB / 0.757 GB, free: 9.535 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.002048, allocations: 105 kB / 0.7571 GB, free: 9.434 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.002078, allocations: 0 / 0.7571 GB, free: 9.434 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.002098, allocations: 4 kB / 0.7571 GB, free: 9.43 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.002162, allocations: 1.312 kB / 0.7571 GB, free: 9.43 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.002355, allocations: 13.19 kB / 0.7571 GB, free: 9.418 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.002419, allocations: 17.23 kB / 0.7571 GB, free: 9.406 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.002469, allocations: 0 / 0.7571 GB, free: 9.406 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.002507, allocations: 13.3 kB / 0.7572 GB, free: 9.395 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.002654, allocations: 7.984 kB / 0.7572 GB, free: 9.387 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.002669, allocations: 0 / 0.7572 GB, free: 9.387 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.002679, allocations: 4 kB / 0.7572 GB, free: 9.383 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.002691, allocations: 1.312 kB / 0.7572 GB, free: 9.383 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.00271, allocations: 4 kB / 0.7572 GB, free: 9.379 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.00278, allocations: 9.297 kB / 0.7572 GB, free: 9.371 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002782, allocations: 0 / 0.7572 GB, free: 9.371 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.242e-06/0.002784, allocations: 0 / 0.7572 GB, free: 9.371 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.002788, allocations: 4 kB / 0.7572 GB, free: 9.367 MB / 0.5887 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.0003255/0.003113, allocations: 246.4 kB / 0.7574 GB, free: 9.094 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.003153, allocations: 8.031 kB / 0.7574 GB, free: 9.086 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.003184, allocations: 0.9375 kB / 0.7574 GB, free: 9.086 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.003264, allocations: 109.8 kB / 0.7575 GB, free: 8.953 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.003277, allocations: 384 / 0.7575 GB, free: 8.953 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.0033, allocations: 4.375 kB / 0.7575 GB, free: 8.949 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.003398, allocations: 51.91 kB / 0.7576 GB, free: 8.887 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003405, allocations: 5.719 kB / 0.7576 GB, free: 8.883 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003413, allocations: 384 / 0.7576 GB, free: 8.883 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003419, allocations: 4.375 kB / 0.7576 GB, free: 8.879 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.003439, allocations: 3.938 kB / 0.7576 GB, free: 8.875 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.003854, allocations: 217.5 kB / 0.7578 GB, free: 8.629 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.003896, allocations: 18.52 kB / 0.7578 GB, free: 8.602 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.003912, allocations: 8.953 kB / 0.7578 GB, free: 8.59 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.003918, allocations: 4 kB / 0.7578 GB, free: 8.586 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.003936, allocations: 30.56 kB / 0.7579 GB, free: 8.547 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.003937, allocations: 0 / 0.7579 GB, free: 8.547 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.004063, allocations: 45.62 kB / 0.7579 GB, free: 8.496 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.004098, allocations: 59.28 kB / 0.758 GB, free: 8.426 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.004173, allocations: 105.4 kB / 0.7581 GB, free: 8.316 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.004183, allocations: 25.7 kB / 0.7581 GB, free: 8.285 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.004218, allocations: 85.56 kB / 0.7582 GB, free: 8.199 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.004227, allocations: 3.953 kB / 0.7582 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.004255, allocations: 13.72 kB / 0.7582 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.004334, allocations: 319 kB / 0.7585 GB, free: 7.855 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.004345, allocations: 0 / 0.7585 GB, free: 7.855 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.004361, allocations: 17.7 kB / 0.7585 GB, free: 7.832 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.004474, allocations: 25.72 kB / 0.7585 GB, free: 7.801 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004476, allocations: 0 / 0.7585 GB, free: 7.801 MB / 0.5887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.656e-05/0.004532, allocations: 49.62 kB / 0.7586 GB, free: 7.746 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004544, allocations: 4 kB / 0.7586 GB, free: 7.742 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.004552, allocations: 12.03 kB / 0.7586 GB, free: 7.73 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.004563, allocations: 0 / 0.7586 GB, free: 7.73 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-05/0.004589, allocations: 4 kB / 0.7586 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.004594, allocations: 1.312 kB / 0.7586 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.00461, allocations: 3.953 kB / 0.7586 GB, free: 7.723 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.004615, allocations: 7.938 kB / 0.7586 GB, free: 7.715 MB / 0.5887 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 9.879e-05/0.004714, allocations: 115.9 kB / 0.7587 GB, free: 7.594 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.004719, allocations: 4 kB / 0.7587 GB, free: 7.59 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.004739, allocations: 11.05 kB / 0.7587 GB, free: 7.578 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004741, allocations: 4 kB / 0.7587 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.004745, allocations: 0 / 0.7587 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004748, allocations: 0 / 0.7587 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.004913, allocations: 137.2 kB / 0.7589 GB, free: 7.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.004914, allocations: 0 / 0.7589 GB, free: 7.41 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.00493, allocations: 4 kB / 0.7589 GB, free: 7.406 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004931, allocations: 1.312 kB / 0.7589 GB, free: 7.406 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.004939, allocations: 4 kB / 0.7589 GB, free: 7.402 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.004941, allocations: 7.922 kB / 0.7589 GB, free: 7.395 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004942, allocations: 0 / 0.7589 GB, free: 7.395 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.005032, allocations: 61.14 kB / 0.7589 GB, free: 7.316 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.00504, allocations: 3.938 kB / 0.7589 GB, free: 7.312 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.005052, allocations: 7.984 kB / 0.759 GB, free: 7.305 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.005061, allocations: 3.938 kB / 0.759 GB, free: 7.301 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.005075, allocations: 4.031 kB / 0.759 GB, free: 7.297 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.005077, allocations: 0 / 0.759 GB, free: 7.297 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.005106, allocations: 83.28 kB / 0.759 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of sort global known variables: time 6e-08/0.005106, allocations: 0 / 0.759 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001148/0.005221, allocations: 5.203 kB / 0.759 GB, free: 7.211 MB / 0.5887 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.209e-05/0.005293, allocations: 99.28 kB / 0.7591 GB, free: 7.105 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 6.382e-05/0.005357, allocations: 15.98 kB / 0.7592 GB, free: 7.09 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.005358, allocations: 0 / 0.7592 GB, free: 7.09 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.005364, allocations: 3.938 kB / 0.7592 GB, free: 7.086 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.00551, allocations: 6.188 kB / 0.7592 GB, free: 7.082 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.005798, allocations: 170.1 kB / 0.7593 GB, free: 6.887 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.00584, allocations: 59.34 kB / 0.7594 GB, free: 6.809 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.005862, allocations: 8.5 kB / 0.7594 GB, free: 6.801 MB / 0.5887 GB Notification: Performance of SimCode: time 6.31e-07/0.005863, allocations: 0 / 0.7594 GB, free: 6.801 MB / 0.5887 GB Notification: Performance of Templates: time 0.001402/0.007264, allocations: 488.4 kB / 0.7599 GB, free: 6.328 MB / 0.5887 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 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.402632587123662]