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.0009749/0.0009749, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001611/0.001611, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.074/1.074, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.6824/0.6824, allocations: 115 MB / 376 MB, free: 7.484 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.934e-06/1.934e-06, allocations: 0 / 428.8 MB, free: 2.754 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.389e-05, allocations: 2.312 kB / 428.8 MB, free: 2.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002196/0.00222, allocations: 1.635 MB / 430.4 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005124/0.002732, allocations: 111.7 kB / 430.5 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.002779, allocations: 0 / 430.5 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.002902, allocations: 19.8 kB / 430.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.497e-05/0.002927, allocations: 7.984 kB / 430.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.003138, allocations: 27.91 kB / 430.6 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.003224, allocations: 51.78 kB / 430.6 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.003314, allocations: 27.97 kB / 430.6 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.003383, allocations: 31.97 kB / 430.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.00344, allocations: 27.91 kB / 430.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.003456, allocations: 4 kB / 430.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.003525, allocations: 19.92 kB / 430.7 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.00356, allocations: 15.92 kB / 430.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.003581, allocations: 11.98 kB / 430.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.003687, allocations: 51.81 kB / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003689, allocations: 0 / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003689, allocations: 0 / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.003693, allocations: 0 / 430.8 MB, free: 0.6992 MB / 394.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.0002996/0.003993, allocations: 276.7 kB / 431.1 MB, free: 412 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.004022, allocations: 12.03 kB / 431.1 MB, free: 400 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.004049, allocations: 8.875 kB / 431.1 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.004171, allocations: 125.6 kB / 431.2 MB, free: 240 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.004179, allocations: 384 / 431.2 MB, free: 240 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.00419, allocations: 12.38 kB / 431.2 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.004375, allocations: 73.75 kB / 431.3 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.004385, allocations: 192 / 431.3 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004394, allocations: 384 / 431.3 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.0044, allocations: 4.375 kB / 431.3 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.004432, allocations: 19.88 kB / 431.3 MB, free: 120 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.004701, allocations: 189.9 kB / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/0.004749, allocations: 22.61 kB / 431.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.004765, allocations: 12.94 kB / 431.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.004789, allocations: 4 kB / 431.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.00481, allocations: 38.44 kB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004811, allocations: 0 / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001063/0.004917, allocations: 45.62 kB / 431.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.004943, allocations: 51.41 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.005031, allocations: 122.7 kB / 431.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.00504, allocations: 25.7 kB / 431.8 MB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.005069, allocations: 96.02 kB / 431.9 MB, free: 15.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.005088, allocations: 15.89 kB / 431.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.005113, allocations: 13.72 kB / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.005187, allocations: 318.8 kB / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.005197, allocations: 4 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.005215, allocations: 0 / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.005244, allocations: 23.94 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005246, allocations: 0 / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.097e-05/0.005296, allocations: 45.62 kB / 432.3 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.005309, allocations: 11.94 kB / 432.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005312, allocations: 0 / 432.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.005324, allocations: 0 / 432.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.005381, allocations: 11.98 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.005384, allocations: 0 / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.005405, allocations: 8 kB / 432.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.005418, allocations: 0 / 432.4 MB, free: 14.97 MB / 410.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 5.321e-05/0.005471, allocations: 116.7 kB / 432.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.005486, allocations: 3.938 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.005558, allocations: 57.67 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005559, allocations: 0 / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005561, allocations: 3.938 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.005564, allocations: 0 / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.005718, allocations: 73.88 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005719, allocations: 0 / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.005746, allocations: 8 kB / 432.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005747, allocations: 0 / 432.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005752, allocations: 7.984 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.005754, allocations: 3.938 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005756, allocations: 4 kB / 432.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.069e-05/0.005827, allocations: 143.5 kB / 432.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.005833, allocations: 3.953 kB / 432.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-06/0.005842, allocations: 4 kB / 432.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.005878, allocations: 11.92 kB / 432.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.005909, allocations: 0 / 432.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.005912, allocations: 3.938 kB / 432.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.005927, allocations: 24.78 kB / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005927, allocations: 0 / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.006048, allocations: 12 kB / 432.8 MB, free: 14.45 MB / 410.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 9.085e-05/0.006138, allocations: 84.34 kB / 432.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.851e-05/0.006207, allocations: 59.59 kB / 433 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.00621, allocations: 4 kB / 433 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.006226, allocations: 8.859 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.006363, allocations: 11.98 kB / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.006607, allocations: 161.9 kB / 433.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.006641, allocations: 63.34 kB / 433.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.006661, allocations: 4 kB / 433.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.006709, allocations: 55.38 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00671, allocations: 0 / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of Templates: time 0.002418/0.009128, allocations: 0.7678 MB / 434 MB, free: 13.17 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.781005447730422]