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.0009727/0.0009727, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001003/0.001003, allocations: 177 kB / 23.36 MB, free: 1.125 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.9682/0.9682, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.638/1.638, allocations: 273.5 MB / 0.5213 GB, free: 14.69 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 4.067e-06/4.067e-06, allocations: 4 kB / 0.5954 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.688e-05, allocations: 6.25 kB / 0.5954 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001823/0.00185, allocations: 1.362 MB / 0.5968 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.002085, allocations: 91.72 kB / 0.5969 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.002105, allocations: 0 / 0.5969 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.002122, allocations: 5.188 kB / 0.5969 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.775e-05/0.002179, allocations: 1.422 kB / 0.5969 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.002306, allocations: 15.94 kB / 0.5969 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.002355, allocations: 17.78 kB / 0.5969 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.002389, allocations: 3.984 kB / 0.5969 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.002422, allocations: 5.422 kB / 0.5969 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.00254, allocations: 11.98 kB / 0.5969 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.002552, allocations: 1.641 kB / 0.5969 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-06/0.002558, allocations: 0 / 0.5969 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.002568, allocations: 0 / 0.5969 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.002582, allocations: 4 kB / 0.5969 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.382e-05/0.002636, allocations: 17.23 kB / 0.5969 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002637, allocations: 0 / 0.5969 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002638, allocations: 4 kB / 0.5969 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.002641, allocations: 0 / 0.5969 GB, free: 1.219 MB / 0.5105 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.0002217/0.002863, allocations: 216.8 kB / 0.5971 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.002892, allocations: 8.031 kB / 0.5972 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.002915, allocations: 4.938 kB / 0.5972 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.002985, allocations: 105.7 kB / 0.5973 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.002994, allocations: 4.375 kB / 0.5973 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.003008, allocations: 4.312 kB / 0.5973 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.207e-05/0.00307, allocations: 47.97 kB / 0.5973 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-06/0.003075, allocations: 5.5 kB / 0.5973 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.003081, allocations: 384 / 0.5973 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003085, allocations: 384 / 0.5973 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.178e-05/0.003097, allocations: 7.938 kB / 0.5973 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.003395, allocations: 173.1 kB / 0.5975 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3e-05/0.003425, allocations: 18.64 kB / 0.5975 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-06/0.003435, allocations: 4.859 kB / 0.5975 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-06/0.003439, allocations: 0 / 0.5975 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.003458, allocations: 34.62 kB / 0.5975 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003459, allocations: 4 kB / 0.5976 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 7.718e-05/0.003536, allocations: 41.62 kB / 0.5976 GB, free: 456 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.003563, allocations: 55.34 kB / 0.5976 GB, free: 388 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.003615, allocations: 107.4 kB / 0.5977 GB, free: 272 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.003623, allocations: 29.7 kB / 0.5978 GB, free: 236 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.003658, allocations: 88.42 kB / 0.5979 GB, free: 144 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.003664, allocations: 0 / 0.5979 GB, free: 144 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.003687, allocations: 21.66 kB / 0.5979 GB, free: 116 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.00377, allocations: 310.8 kB / 0.5982 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-06/0.003776, allocations: 4 kB / 0.5982 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.003786, allocations: 13.84 kB / 0.5982 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.003823, allocations: 29.64 kB / 0.5982 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.003825, allocations: 0 / 0.5982 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.467e-05/0.003869, allocations: 37.69 kB / 0.5983 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.00388, allocations: 11.94 kB / 0.5983 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.003884, allocations: 1.312 kB / 0.5983 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.003893, allocations: 0 / 0.5983 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.983e-05/0.003923, allocations: 8.031 kB / 0.5983 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.003925, allocations: 4 kB / 0.5983 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.003941, allocations: 4 kB / 0.5983 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.003944, allocations: 0 / 0.5983 GB, free: 15.67 MB / 0.5261 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 7.864e-05/0.004023, allocations: 109.8 kB / 0.5984 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-06/0.004028, allocations: 3.984 kB / 0.5984 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.004044, allocations: 3.156 kB / 0.5984 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004045, allocations: 0 / 0.5984 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.004048, allocations: 7.875 kB / 0.5984 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.00405, allocations: 8 kB / 0.5984 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.004206, allocations: 103.2 kB / 0.5985 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004207, allocations: 0 / 0.5985 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.004221, allocations: 0 / 0.5985 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004222, allocations: 0 / 0.5985 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.00423, allocations: 0 / 0.5985 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.004231, allocations: 0 / 0.5985 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004231, allocations: 4 kB / 0.5985 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.814e-05/0.0043, allocations: 69 kB / 0.5986 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.004307, allocations: 4.062 kB / 0.5986 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.004314, allocations: 0 / 0.5986 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-06/0.004323, allocations: 4 kB / 0.5986 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.004332, allocations: 0 / 0.5986 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.004335, allocations: 5.188 kB / 0.5986 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.047e-05/0.004345, allocations: 12.8 kB / 0.5986 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004345, allocations: 0 / 0.5986 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 9.3e-05/0.004438, allocations: 4 kB / 0.5986 GB, free: 15.3 MB / 0.5261 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 5.97e-05/0.004498, allocations: 72.42 kB / 0.5987 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.965e-05/0.004548, allocations: 24.8 kB / 0.5987 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.004551, allocations: 0 / 0.5987 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-06/0.004556, allocations: 4.859 kB / 0.5987 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.806e-05/0.004634, allocations: 7.984 kB / 0.5987 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.005101, allocations: 172 kB / 0.5989 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.571e-05/0.005126, allocations: 56.78 kB / 0.5989 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.005141, allocations: 0 / 0.5989 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.005174, allocations: 51.38 kB / 0.599 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.005175, allocations: 0 / 0.599 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.001696/0.006871, allocations: 357.5 kB / 0.5993 GB, free: 14.52 MB / 0.5261 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 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.42355109192431]