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.001376/0.001376, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.00156/0.00156, allocations: 173.4 kB / 24.06 MB, free: 452 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.026/1.026, allocations: 177.1 MB / 204.5 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.6911/0.6911, allocations: 115 MB / 376 MB, free: 7.531 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 3.536e-06/3.536e-06, allocations: 0 / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.448e-05, allocations: 5.703 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003003/0.003038, allocations: 1.573 MB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.003386, allocations: 122.2 kB / 483.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.003453, allocations: 5.031 kB / 483.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.003596, allocations: 15.2 kB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.003627, allocations: 9.953 kB / 483.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.003922, allocations: 29.86 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.004015, allocations: 50.16 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.00412, allocations: 19.2 kB / 483.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.004201, allocations: 34.48 kB / 483.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.004269, allocations: 25.44 kB / 483.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.004291, allocations: 4.25 kB / 483.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.004366, allocations: 12.5 kB / 483.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.004405, allocations: 15.44 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.004434, allocations: 20.48 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.004571, allocations: 46.3 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004574, allocations: 0 / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.004576, allocations: 4.938 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00458, allocations: 0 / 484 MB, free: 10.43 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.0003908/0.004971, allocations: 401.5 kB / 484.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.005014, allocations: 10 kB / 484.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.00505, allocations: 6.188 kB / 484.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005162, allocations: 131 kB / 484.5 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005172, allocations: 6.391 kB / 484.5 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.005183, allocations: 2.969 kB / 484.5 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.005335, allocations: 70.52 kB / 484.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005342, allocations: 1.25 kB / 484.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.005352, allocations: 4.375 kB / 484.6 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005359, allocations: 2.312 kB / 484.6 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.005396, allocations: 17.75 kB / 484.6 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.005734, allocations: 270.6 kB / 484.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.175e-05/0.005806, allocations: 45.05 kB / 484.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.005827, allocations: 11.69 kB / 484.9 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.005864, allocations: 2.594 kB / 484.9 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.005884, allocations: 43.41 kB / 485 MB, free: 9.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.005886, allocations: 0.8438 kB / 485 MB, free: 9.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001554/0.006041, allocations: 49.61 kB / 485 MB, free: 9.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.006062, allocations: 60.41 kB / 485.1 MB, free: 9.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.006306, allocations: 173.2 kB / 485.2 MB, free: 25.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.006313, allocations: 25.7 kB / 485.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.006361, allocations: 142.1 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.006381, allocations: 6.078 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.006415, allocations: 29.52 kB / 485.4 MB, free: 24.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006541, allocations: 496.1 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.006559, allocations: 4.594 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.006575, allocations: 3.094 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.006609, allocations: 12.12 kB / 485.9 MB, free: 24.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006611, allocations: 2.062 kB / 485.9 MB, free: 24.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.61e-05/0.006697, allocations: 56.81 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.006715, allocations: 5.656 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.00672, allocations: 3.984 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.006735, allocations: 1.281 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.006813, allocations: 11.66 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.006815, allocations: 0 / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.00685, allocations: 13 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.006866, allocations: 1.344 kB / 486 MB, free: 24.43 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 6.858e-05/0.006935, allocations: 159.5 kB / 486.2 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.006962, allocations: 11.97 kB / 486.2 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.007069, allocations: 58.09 kB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007071, allocations: 1.406 kB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007073, allocations: 4 kB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.007076, allocations: 0.7188 kB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.007189, allocations: 100.1 kB / 486.4 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.007192, allocations: 9.797 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.007238, allocations: 7.562 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.007241, allocations: 1.375 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.007247, allocations: 4.359 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007249, allocations: 3.938 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00725, allocations: 1.219 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.007364, allocations: 197.8 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.007373, allocations: 6.453 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.007384, allocations: 1.25 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.007448, allocations: 11.34 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.00748, allocations: 6.938 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.007489, allocations: 4.453 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.00754, allocations: 129.8 kB / 486.7 MB, free: 23.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00754, allocations: 0 / 486.7 MB, free: 23.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.007803, allocations: 9.344 kB / 486.7 MB, free: 23.75 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.0001245/0.007928, allocations: 98.34 kB / 486.8 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.008009, allocations: 22.55 kB / 486.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008011, allocations: 2.375 kB / 486.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.008036, allocations: 14.09 kB / 486.9 MB, free: 23.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.008323, allocations: 10.64 kB / 486.9 MB, free: 23.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.008609, allocations: 162.7 kB / 487 MB, free: 23.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.008642, allocations: 60.55 kB / 487.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.00867, allocations: 1 kB / 487.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.008732, allocations: 77.27 kB / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.008733, allocations: 0 / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of Templates: time 0.004279/0.01301, allocations: 0.8872 MB / 488.1 MB, free: 23.27 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.512132045812905]