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.001305/0.001305, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.001525/0.001525, allocations: 165 kB / 23.79 MB, free: 0.7695 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.101/1.101, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6367/0.6367, allocations: 115 MB / 375.7 MB, free: 7.637 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.874e-06/1.874e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.028e-05, allocations: 5.031 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.00242/0.00245, allocations: 1.581 MB / 483.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.00277, allocations: 121.5 kB / 483.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.00282, allocations: 0 / 483.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.00295, allocations: 9.125 kB / 483.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.986e-05/0.00298, allocations: 10.58 kB / 483.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.003245, allocations: 31.58 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003349, allocations: 60.97 kB / 483.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003457, allocations: 14.33 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.003533, allocations: 33.05 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.003601, allocations: 26.83 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.003622, allocations: 5.656 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.003687, allocations: 10.75 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.00373, allocations: 20.09 kB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.003761, allocations: 13.53 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003896, allocations: 49.16 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.003899, allocations: 3.281 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.0039, allocations: 0 / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.003904, allocations: 0.7188 kB / 483.5 MB, free: 10.6 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.0003894/0.004294, allocations: 399 kB / 483.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.004339, allocations: 14.38 kB / 483.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.004386, allocations: 9.75 kB / 483.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004516, allocations: 123.8 kB / 484 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.004527, allocations: 7.188 kB / 484 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.004539, allocations: 3.938 kB / 484 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.004704, allocations: 70.14 kB / 484.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004712, allocations: 2.094 kB / 484.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.004723, allocations: 6.109 kB / 484.1 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.004732, allocations: 5.938 kB / 484.1 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.004778, allocations: 19.03 kB / 484.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.005138, allocations: 300.5 kB / 484.4 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.295e-05/0.005221, allocations: 45.62 kB / 484.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.005256, allocations: 14.91 kB / 484.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.005292, allocations: 2.812 kB / 484.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.00531, allocations: 35.61 kB / 484.5 MB, free: 9.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.005312, allocations: 1.594 kB / 484.5 MB, free: 9.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.005491, allocations: 53.94 kB / 484.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.005516, allocations: 52.47 kB / 484.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.005583, allocations: 173 kB / 484.8 MB, free: 9.332 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.005592, allocations: 30.52 kB / 484.8 MB, free: 9.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.005821, allocations: 142.2 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.005842, allocations: 5.703 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.005878, allocations: 22.66 kB / 485 MB, free: 25.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.006006, allocations: 498.9 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.006031, allocations: 2.25 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.006049, allocations: 6.438 kB / 485.5 MB, free: 24.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.006091, allocations: 17.22 kB / 485.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006093, allocations: 4.969 kB / 485.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.677e-05/0.00619, allocations: 56.2 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.006205, allocations: 9.156 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00621, allocations: 0 / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.006224, allocations: 1.25 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.006313, allocations: 11.39 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.006317, allocations: 1.938 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.006351, allocations: 8.125 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.006373, allocations: 2.188 kB / 485.6 MB, free: 24.57 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.114e-05/0.006444, allocations: 160.8 kB / 485.8 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.00647, allocations: 12.58 kB / 485.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.006582, allocations: 53.94 kB / 485.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006585, allocations: 1.062 kB / 485.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.006589, allocations: 5.469 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006592, allocations: 1.031 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.006708, allocations: 127.8 kB / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.00671, allocations: 0 / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.006752, allocations: 12.39 kB / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.006755, allocations: 4.312 kB / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006762, allocations: 1.812 kB / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006764, allocations: 0.9375 kB / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006765, allocations: 0.5625 kB / 486 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.00688, allocations: 193.1 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.00689, allocations: 14.23 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.006904, allocations: 2.594 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.00696, allocations: 4 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.007, allocations: 8.641 kB / 486.2 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.007007, allocations: 5.906 kB / 486.2 MB, free: 23.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.007058, allocations: 139.6 kB / 486.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007058, allocations: 0 / 486.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.007295, allocations: 9.312 kB / 486.3 MB, free: 23.87 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.0001096/0.007404, allocations: 96.91 kB / 486.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.007504, allocations: 21.31 kB / 486.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007506, allocations: 0.8438 kB / 486.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.007534, allocations: 19.84 kB / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.007785, allocations: 7.156 kB / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.008111, allocations: 162.2 kB / 486.6 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.008144, allocations: 59.28 kB / 486.7 MB, free: 23.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.008177, allocations: 7.484 kB / 486.7 MB, free: 23.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.008204, allocations: 10.69 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.008205, allocations: 0 / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of Templates: time 0.003067/0.01127, allocations: 0.8745 MB / 487.6 MB, free: 23.45 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.575255809817463]