Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.001779/0.001779, allocations: 105 kB / 20.45 MB, free: 1.512 MB / 14.72 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.002288/0.002288, allocations: 210.9 kB / 23.76 MB, free: 4.738 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9646/0.9646, allocations: 150 MB / 463.9 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 72.83 kB / 0.6425 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1897, allocations: 89.17 MB / 0.7296 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003133/0.1929, allocations: 1.571 MB / 0.7311 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004102/0.1933, allocations: 111.7 kB / 0.7312 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.1933, allocations: 0 / 0.7312 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.1934, allocations: 7.922 kB / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.1935, allocations: 15.86 kB / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1937, allocations: 27.97 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1939, allocations: 55.78 kB / 0.7313 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.194, allocations: 15.98 kB / 0.7313 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.1941, allocations: 27.92 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.1941, allocations: 35.89 kB / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1942, allocations: 4 kB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.1942, allocations: 11.98 kB / 0.7314 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1943, allocations: 19.92 kB / 0.7314 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1943, allocations: 23.88 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1945, allocations: 59.73 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1945, allocations: 0 / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1945, allocations: 0 / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1945, allocations: 0 / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005898/0.1951, allocations: 310 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1951, allocations: 12.03 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1952, allocations: 8.828 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.1953, allocations: 124 kB / 0.7319 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1953, allocations: 8.312 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1954, allocations: 4.375 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1958, allocations: 86.19 kB / 0.732 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1958, allocations: 4.188 kB / 0.732 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1958, allocations: 7.938 kB / 0.732 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1958, allocations: 4 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1961, allocations: 75.86 kB / 0.7321 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.1967, allocations: 303.8 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.197, allocations: 62.55 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1971, allocations: 40.91 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.1972, allocations: 4 kB / 0.7325 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1972, allocations: 34.56 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1972, allocations: 0 / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005731/0.1978, allocations: 137.5 kB / 0.7327 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1978, allocations: 55.41 kB / 0.7327 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1979, allocations: 121.8 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1979, allocations: 25.7 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.198, allocations: 96.08 kB / 0.733 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.198, allocations: 11.89 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1981, allocations: 17.7 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1982, allocations: 318.8 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1984, allocations: 35.95 kB / 0.7333 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1985, allocations: 31.97 kB / 0.7334 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1988, allocations: 72.78 kB / 0.7334 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1988, allocations: 0 / 0.7334 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003379/0.1991, allocations: 117.5 kB / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1991, allocations: 4 kB / 0.7335 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1991, allocations: 0 / 0.7335 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1992, allocations: 0 / 0.7335 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1993, allocations: 15.98 kB / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1993, allocations: 0 / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.1994, allocations: 15.97 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1994, allocations: 0 / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 8.913e-05/0.1995, allocations: 121.8 kB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1995, allocations: 0 / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.1999, allocations: 117.6 kB / 0.7338 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1999, allocations: 3.938 kB / 0.7338 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1999, allocations: 3.938 kB / 0.7338 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1999, allocations: 4 kB / 0.7338 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2001, allocations: 164.6 kB / 0.734 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2001, allocations: 0 / 0.734 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.2002, allocations: 11.98 kB / 0.734 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2002, allocations: 4 kB / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2002, allocations: 0 / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2002, allocations: 0 / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2002, allocations: 0 / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2006, allocations: 203.8 kB / 0.7342 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.2006, allocations: 3.953 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.2006, allocations: 4 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2007, allocations: 15.91 kB / 0.7342 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.2008, allocations: 8.031 kB / 0.7342 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.2008, allocations: 4 kB / 0.7342 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.2008, allocations: 96.69 kB / 0.7343 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2008, allocations: 3.938 kB / 0.7343 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000231/0.2011, allocations: 12 kB / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000143/0.2012, allocations: 103.2 kB / 0.7344 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.2016, allocations: 71.92 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2016, allocations: 4 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.2017, allocations: 43.95 kB / 0.7345 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.202, allocations: 0 / 0.7345 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.2024, allocations: 183 kB / 0.7347 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.2028, allocations: 0.6943 MB / 0.7354 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2028, allocations: 15.44 kB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2028, allocations: 0 / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.003005/0.2058, allocations: 0.9322 MB / 0.7363 GB, free: 9.477 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.228564518969506] Failed to read output from testmodel.py, exit status != 0: 0.21689722198061645 0.23214627299999996 0.034300255 Calling exit ...