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.0009959/0.0009959, allocations: 82.64 kB / 21.44 MB, free: 3.062 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.00123/0.00123, allocations: 170.4 kB / 24.84 MB, free: 8.906 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.9438/0.9438, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.7331/0.7331, allocations: 115 MB / 376.8 MB, free: 7.508 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.673e-06/1.673e-06, allocations: 0 / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.382e-05, allocations: 3.188 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002223/0.002246, allocations: 1.575 MB / 484.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.002525, allocations: 119.3 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.00257, allocations: 6.531 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.002684, allocations: 9.891 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.002707, allocations: 12.45 kB / 484.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.002955, allocations: 26.14 kB / 484.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.00304, allocations: 54.03 kB / 484.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.00313, allocations: 21.95 kB / 484.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.00319, allocations: 28.23 kB / 484.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.003249, allocations: 23.95 kB / 484.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003266, allocations: 5.656 kB / 484.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.003326, allocations: 15.38 kB / 484.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.003364, allocations: 15.66 kB / 484.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003387, allocations: 17.31 kB / 484.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.003511, allocations: 49.38 kB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.003514, allocations: 3.844 kB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003515, allocations: 0 / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.003519, allocations: 1.25 kB / 484.7 MB, free: 10.47 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.0003097/0.003829, allocations: 403.1 kB / 485.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.003865, allocations: 13.19 kB / 485.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.003895, allocations: 6.562 kB / 485.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.003998, allocations: 128.1 kB / 485.3 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.004008, allocations: 2.438 kB / 485.3 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.004017, allocations: 4.312 kB / 485.3 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.004137, allocations: 74.39 kB / 485.4 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004144, allocations: 192 / 485.4 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004153, allocations: 5.469 kB / 485.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004158, allocations: 2.781 kB / 485.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.004185, allocations: 13.44 kB / 485.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.004456, allocations: 279.6 kB / 485.7 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.004512, allocations: 37.05 kB / 485.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.004529, allocations: 11.12 kB / 485.7 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.004557, allocations: 2.969 kB / 485.7 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.004573, allocations: 39.73 kB / 485.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004574, allocations: 0 / 485.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.004698, allocations: 54.34 kB / 485.8 MB, free: 9.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.004717, allocations: 51.41 kB / 485.8 MB, free: 9.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.004967, allocations: 180.2 kB / 486 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004975, allocations: 26.92 kB / 486 MB, free: 25.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.005017, allocations: 142.3 kB / 486.2 MB, free: 25.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005035, allocations: 4.891 kB / 486.2 MB, free: 25.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.005062, allocations: 26.61 kB / 486.2 MB, free: 25.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005167, allocations: 499.5 kB / 486.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.00518, allocations: 1.094 kB / 486.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.005191, allocations: 2 kB / 486.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.005219, allocations: 25.67 kB / 486.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00522, allocations: 1.188 kB / 486.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.328e-05/0.005284, allocations: 51.94 kB / 486.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005295, allocations: 5.156 kB / 486.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005299, allocations: 1.188 kB / 486.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.005307, allocations: 0.5 kB / 486.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.005377, allocations: 10.78 kB / 486.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.00538, allocations: 3.328 kB / 486.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.005405, allocations: 8.281 kB / 486.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.00542, allocations: 1.469 kB / 486.8 MB, free: 24.47 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 5.921e-05/0.005479, allocations: 158.5 kB / 487 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.005498, allocations: 11.88 kB / 487 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.736e-05/0.005585, allocations: 66.64 kB / 487 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.005588, allocations: 1.281 kB / 487 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005589, allocations: 0.5938 kB / 487 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005592, allocations: 0 / 487 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.212e-05/0.005674, allocations: 106 kB / 487.1 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005676, allocations: 1.469 kB / 487.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.005713, allocations: 11.17 kB / 487.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005714, allocations: 0 / 487.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.005719, allocations: 1.781 kB / 487.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00572, allocations: 5.25 kB / 487.2 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.005721, allocations: 0 / 487.2 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.114e-05/0.005812, allocations: 197.1 kB / 487.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.005819, allocations: 5.016 kB / 487.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.005829, allocations: 2.031 kB / 487.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.005867, allocations: 12.5 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.005896, allocations: 12.09 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.005903, allocations: 1.438 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.005944, allocations: 128.8 kB / 487.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005944, allocations: 0 / 487.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001508/0.006095, allocations: 10.5 kB / 487.5 MB, free: 23.8 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 9.588e-05/0.006191, allocations: 99.62 kB / 487.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.82e-05/0.006259, allocations: 19.41 kB / 487.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006261, allocations: 1.062 kB / 487.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.006303, allocations: 22.02 kB / 487.7 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.006477, allocations: 7.891 kB / 487.7 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.006705, allocations: 157.5 kB / 487.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.496e-05/0.00673, allocations: 64.11 kB / 487.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.1e-05/0.006751, allocations: 1.375 kB / 487.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.006794, allocations: 73.83 kB / 488 MB, free: 23.39 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006795, allocations: 1.344 kB / 488 MB, free: 23.39 MB / 426.7 MB Notification: Performance of Templates: time 0.002468/0.009262, allocations: 0.9143 MB / 488.9 MB, free: 23.31 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: 3.6304787467233837]