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.001014/0.001014, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009924/0.0009924, allocations: 165 kB / 23.8 MB, free: 0.7656 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.9964/0.9964, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6469/0.6469, allocations: 115 MB / 375.7 MB, free: 7.641 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.723e-06/1.723e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.632e-05, allocations: 3.656 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002017/0.002043, allocations: 1.583 MB / 483.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.00237, allocations: 121.5 kB / 483.2 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.00242, allocations: 3.938 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.002555, allocations: 9.859 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.213e-05/0.002577, allocations: 8.906 kB / 483.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.002849, allocations: 28.39 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.002969, allocations: 56.73 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.003099, allocations: 19.41 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.003169, allocations: 31.53 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.00324, allocations: 27.91 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.00326, allocations: 7.844 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.003326, allocations: 10.34 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.003363, allocations: 12.62 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.003395, allocations: 20.69 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003519, allocations: 47.38 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003521, allocations: 4.906 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003522, allocations: 1.094 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003526, allocations: 0 / 483.5 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.0003262/0.003853, allocations: 399.6 kB / 483.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.003892, allocations: 10.19 kB / 483.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.003932, allocations: 9.516 kB / 483.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004047, allocations: 127.7 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.004056, allocations: 2.625 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.004069, allocations: 7.188 kB / 484 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.004227, allocations: 76.28 kB / 484.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.004237, allocations: 4.172 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.004247, allocations: 1.625 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.004255, allocations: 2.688 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.004296, allocations: 18.67 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.004619, allocations: 305.5 kB / 484.4 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.004691, allocations: 36.09 kB / 484.5 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.004719, allocations: 18.56 kB / 484.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.004754, allocations: 5.125 kB / 484.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.004771, allocations: 35.58 kB / 484.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.004773, allocations: 1 kB / 484.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001596/0.004932, allocations: 54.78 kB / 484.6 MB, free: 9.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.004953, allocations: 51.41 kB / 484.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.005012, allocations: 174.2 kB / 484.8 MB, free: 9.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.005018, allocations: 25.7 kB / 484.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.005552, allocations: 143.7 kB / 485 MB, free: 25.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.005574, allocations: 8.484 kB / 485 MB, free: 25.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.005604, allocations: 22.78 kB / 485 MB, free: 25.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.005719, allocations: 494.3 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.005742, allocations: 6.703 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.005757, allocations: 3.312 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.684e-05/0.005794, allocations: 17.78 kB / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005797, allocations: 0 / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.613e-05/0.005873, allocations: 57.33 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.005888, allocations: 5.531 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005893, allocations: 0.625 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.005911, allocations: 0.9688 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.005997, allocations: 12.11 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.006004, allocations: 5.375 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.00603, allocations: 11.31 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.00605, allocations: 2.312 kB / 485.6 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 7.059e-05/0.006121, allocations: 155.8 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.006142, allocations: 14.39 kB / 485.8 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.006255, allocations: 54.72 kB / 485.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006257, allocations: 1.125 kB / 485.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.006262, allocations: 0.6562 kB / 485.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006265, allocations: 1.062 kB / 485.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.00636, allocations: 130.1 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006361, allocations: 4 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.006402, allocations: 12.31 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.006405, allocations: 4.969 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.006412, allocations: 1.125 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.006413, allocations: 0 / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006415, allocations: 1.781 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.006518, allocations: 192.8 kB / 486.2 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.006527, allocations: 18.41 kB / 486.2 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.00654, allocations: 1.094 kB / 486.2 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.006578, allocations: 6.531 kB / 486.2 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.006619, allocations: 9.656 kB / 486.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-06/0.006625, allocations: 1.219 kB / 486.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.006672, allocations: 138.3 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006672, allocations: 0 / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.006828, allocations: 8.688 kB / 486.3 MB, free: 23.91 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.0001181/0.006946, allocations: 96.66 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.007046, allocations: 17.25 kB / 486.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007048, allocations: 0.9375 kB / 486.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.007074, allocations: 24.86 kB / 486.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.007275, allocations: 8.125 kB / 486.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.007568, allocations: 156.8 kB / 486.6 MB, free: 23.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.972e-05/0.007597, allocations: 63.84 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.678e-05/0.007624, allocations: 6.203 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.007652, allocations: 12.09 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.007653, allocations: 1.156 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of Templates: time 0.002974/0.01063, allocations: 0.8111 MB / 487.5 MB, free: 23.5 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.785357505083084]