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.001667/0.001667, allocations: 92.72 kB / 20.21 MB, free: 4.219 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.002029/0.002029, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.561/1.561, allocations: 177.2 MB / 203.9 MB, free: 5.598 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 0.9677/0.9677, allocations: 115 MB / 375.3 MB, free: 7.582 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 1.573e-06/1.573e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.816e-05, allocations: 2.312 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002244/0.002272, allocations: 1.54 MB / 482.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000323/0.002595, allocations: 127.1 kB / 482.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.002647, allocations: 0 / 482.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.002775, allocations: 12.11 kB / 482.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.37e-05/0.002799, allocations: 6.312 kB / 482.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003041, allocations: 28.58 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.00313, allocations: 62.41 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003241, allocations: 17.86 kB / 482.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.003304, allocations: 26.78 kB / 482.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.003367, allocations: 27.95 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003387, allocations: 6.094 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.003446, allocations: 11.09 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.003486, allocations: 19.88 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.003521, allocations: 12.48 kB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003651, allocations: 64.06 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003653, allocations: 0 / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003653, allocations: 0.75 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.003657, allocations: 0 / 482.7 MB, free: 10.64 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.0004608/0.004118, allocations: 317.5 kB / 483 MB, free: 10.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.004154, allocations: 6.062 kB / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.004224, allocations: 10.66 kB / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.004372, allocations: 128.1 kB / 483.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004384, allocations: 1.781 kB / 483.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.004398, allocations: 7.25 kB / 483.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.004675, allocations: 87.28 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.004684, allocations: 192 / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.004695, allocations: 3.406 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.0047, allocations: 1 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.004999, allocations: 92.42 kB / 483.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.005464, allocations: 251.3 kB / 483.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.005657, allocations: 69.28 kB / 483.7 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.005807, allocations: 42.84 kB / 483.7 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.005844, allocations: 1.938 kB / 483.7 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.005863, allocations: 31.5 kB / 483.8 MB, free: 9.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.005864, allocations: 2.531 kB / 483.8 MB, free: 9.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005649/0.006429, allocations: 142 kB / 483.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.006453, allocations: 52.47 kB / 484 MB, free: 9.715 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.006526, allocations: 122.3 kB / 484.1 MB, free: 9.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.006534, allocations: 25.7 kB / 484.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.006569, allocations: 95.97 kB / 484.2 MB, free: 9.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.006587, allocations: 6.078 kB / 484.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.006622, allocations: 20.19 kB / 484.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003082/0.00693, allocations: 317.1 kB / 484.5 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.007087, allocations: 33.98 kB / 484.6 MB, free: 25.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.007218, allocations: 37.55 kB / 484.6 MB, free: 25.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.007488, allocations: 75.75 kB / 484.7 MB, free: 25.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00749, allocations: 1.188 kB / 484.7 MB, free: 25.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.007803, allocations: 106.3 kB / 484.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.007819, allocations: 5.594 kB / 484.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.007824, allocations: 5.188 kB / 484.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.007845, allocations: 1.125 kB / 484.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.00797, allocations: 22.11 kB / 484.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007976, allocations: 1.438 kB / 484.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.008061, allocations: 9.344 kB / 484.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.008082, allocations: 2.312 kB / 484.8 MB, free: 25.06 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 8.764e-05/0.00817, allocations: 118.2 kB / 484.9 MB, free: 24.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.008197, allocations: 7.406 kB / 484.9 MB, free: 24.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.008551, allocations: 116.4 kB / 485.1 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008554, allocations: 0.9688 kB / 485.1 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.008558, allocations: 1.438 kB / 485.1 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008561, allocations: 0.9375 kB / 485.1 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.008671, allocations: 126.9 kB / 485.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.008672, allocations: 0 / 485.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.008766, allocations: 21.66 kB / 485.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.00877, allocations: 5.969 kB / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.008777, allocations: 0 / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.008779, allocations: 1.094 kB / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.00878, allocations: 5 kB / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.009162, allocations: 197.4 kB / 485.4 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.009172, allocations: 11.61 kB / 485.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.009187, allocations: 0.9688 kB / 485.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.009294, allocations: 13.03 kB / 485.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.009341, allocations: 6.359 kB / 485.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.009348, allocations: 1.625 kB / 485.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.009418, allocations: 100.7 kB / 485.5 MB, free: 24.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009418, allocations: 0 / 485.5 MB, free: 24.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.009647, allocations: 9.188 kB / 485.6 MB, free: 24.5 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.0001303/0.009777, allocations: 105.6 kB / 485.7 MB, free: 24.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.01012, allocations: 73.36 kB / 485.7 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01012, allocations: 0 / 485.7 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.01027, allocations: 43.42 kB / 485.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01057, allocations: 9.875 kB / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.01091, allocations: 153.4 kB / 485.9 MB, free: 24.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.046e-05/0.01097, allocations: 74.38 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01101, allocations: 12.56 kB / 486 MB, free: 24.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.01104, allocations: 14.59 kB / 486 MB, free: 24.16 MB / 426.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01104, allocations: 1.562 kB / 486 MB, free: 24.16 MB / 426.7 MB Notification: Performance of Templates: time 0.003348/0.01439, allocations: 0.8117 MB / 486.8 MB, free: 24.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.544885050039738]