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.00191/0.00191, allocations: 93.47 kB / 20.21 MB, free: 4.215 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.002087/0.002087, allocations: 165.6 kB / 23.53 MB, free: 0.8984 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 1.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 1.033/1.033, allocations: 115 MB / 375.3 MB, free: 7.59 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.209e-05, allocations: 2.312 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002744/0.002776, allocations: 1.544 MB / 482.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003937/0.00317, allocations: 126.2 kB / 482.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.003227, allocations: 3.125 kB / 482.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.003365, allocations: 8.938 kB / 482.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.003397, allocations: 14.59 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.003646, allocations: 21.5 kB / 482.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.003753, allocations: 56.53 kB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.003879, allocations: 17.91 kB / 482.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.00396, allocations: 34.08 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.004027, allocations: 22.38 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.004049, allocations: 6.406 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.479e-05/0.004114, allocations: 10.55 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.00416, allocations: 28 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.004191, allocations: 13.61 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.00434, allocations: 61.58 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004343, allocations: 3.5 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004344, allocations: 0.5938 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004349, allocations: 0 / 482.8 MB, free: 10.66 MB / 410.7 MB 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.0004569/0.004806, allocations: 402.3 kB / 483.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004843, allocations: 9.594 kB / 483.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.004894, allocations: 15.83 kB / 483.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.005035, allocations: 122.8 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.005048, allocations: 2.5 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.005064, allocations: 9.562 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.005263, allocations: 63.97 kB / 483.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.005274, allocations: 1.375 kB / 483.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005284, allocations: 384 / 483.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005289, allocations: 384 / 483.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.005463, allocations: 51.64 kB / 483.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.005912, allocations: 305.4 kB / 483.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006061, allocations: 50.06 kB / 483.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.00615, allocations: 37.77 kB / 483.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.006189, allocations: 0 / 483.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.006217, allocations: 39.73 kB / 483.8 MB, free: 9.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.006218, allocations: 0 / 483.8 MB, free: 9.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004368/0.006655, allocations: 102.6 kB / 483.9 MB, free: 9.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.006691, allocations: 52.47 kB / 484 MB, free: 9.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.007077, allocations: 180.7 kB / 484.2 MB, free: 25.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.00709, allocations: 26.33 kB / 484.2 MB, free: 25.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.007196, allocations: 149.4 kB / 484.3 MB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.007222, allocations: 7.391 kB / 484.3 MB, free: 25.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.00726, allocations: 22.75 kB / 484.4 MB, free: 25.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.007554, allocations: 0.4945 MB / 484.9 MB, free: 24.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.007661, allocations: 19.88 kB / 484.9 MB, free: 24.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.181e-05/0.007742, allocations: 27.91 kB / 484.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.007923, allocations: 46.31 kB / 485 MB, free: 24.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.007925, allocations: 1.062 kB / 485 MB, free: 24.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002606/0.008186, allocations: 79.42 kB / 485 MB, free: 24.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.008217, allocations: 5.469 kB / 485 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.008226, allocations: 0 / 485 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.00825, allocations: 1.562 kB / 485 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.008394, allocations: 11.08 kB / 485.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.008404, allocations: 1.656 kB / 485.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.008471, allocations: 11.14 kB / 485.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.008505, allocations: 2.156 kB / 485.1 MB, free: 24.61 MB / 426.7 MB 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 0.0001383/0.008644, allocations: 160.5 kB / 485.2 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.008673, allocations: 6.938 kB / 485.2 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.008963, allocations: 90.39 kB / 485.3 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.008967, allocations: 1 kB / 485.3 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.008972, allocations: 0.5938 kB / 485.3 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.008977, allocations: 1.656 kB / 485.3 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.009134, allocations: 138.6 kB / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009135, allocations: 4.875 kB / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.009201, allocations: 7.312 kB / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.009207, allocations: 8.125 kB / 485.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.009219, allocations: 1.094 kB / 485.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.009221, allocations: 0 / 485.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009221, allocations: 0 / 485.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.009573, allocations: 222.6 kB / 485.7 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.009587, allocations: 14.2 kB / 485.7 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.009603, allocations: 4.297 kB / 485.7 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.009673, allocations: 4.781 kB / 485.7 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.009734, allocations: 4.984 kB / 485.7 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.009742, allocations: 2.828 kB / 485.7 MB, free: 24.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.009845, allocations: 139.2 kB / 485.9 MB, free: 23.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009845, allocations: 3.938 kB / 485.9 MB, free: 23.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01008, allocations: 14.47 kB / 485.9 MB, free: 23.89 MB / 426.7 MB 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.0004758/0.01056, allocations: 97.56 kB / 486 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01081, allocations: 53.61 kB / 486 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01082, allocations: 0 / 486 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.01092, allocations: 37.39 kB / 486.1 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.01117, allocations: 16.41 kB / 486.1 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.01158, allocations: 151.8 kB / 486.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.01165, allocations: 76.47 kB / 486.3 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.01169, allocations: 7.109 kB / 486.3 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.01173, allocations: 12.06 kB / 486.3 MB, free: 23.53 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01173, allocations: 0 / 486.3 MB, free: 23.53 MB / 426.7 MB Notification: Performance of Templates: time 0.003867/0.01559, allocations: 0.8192 MB / 487.1 MB, free: 23.46 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.717506415909156]