Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009485/0.0009485, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002292, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009209/0.0009209, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002142, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9279/0.9279, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1213/1.049, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001286/0.001286, allocations: 238.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.002351, allocations: 475.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6644/0.6644, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07028/0.7347, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.992e-05, allocations: 6.25 kB / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002618/0.002638, allocations: 1.639 MB / 429.7 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002218/0.00286, allocations: 116.4 kB / 429.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.002904, allocations: 0 / 429.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.429e-05/0.002968, allocations: 11.92 kB / 429.8 MB, free: 2.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.262e-05/0.002991, allocations: 7.875 kB / 429.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.00315, allocations: 35.89 kB / 429.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.00325, allocations: 55.84 kB / 429.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.003347, allocations: 27.84 kB / 430 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.003436, allocations: 31.95 kB / 430 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.00351, allocations: 31.91 kB / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.003528, allocations: 4 kB / 430 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.003608, allocations: 8 kB / 430 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.003651, allocations: 15.92 kB / 430.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.003681, allocations: 16 kB / 430.1 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003811, allocations: 43.83 kB / 430.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.003824, allocations: 0 / 430.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003825, allocations: 4 kB / 430.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.003836, allocations: 0 / 430.1 MB, free: 2.402 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.0004372/0.004273, allocations: 272.4 kB / 430.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004311, allocations: 15.98 kB / 430.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.004354, allocations: 12.92 kB / 430.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.004517, allocations: 121.6 kB / 430.5 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.00453, allocations: 4.375 kB / 430.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.004546, allocations: 4.375 kB / 430.5 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.004711, allocations: 77.69 kB / 430.6 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004718, allocations: 4.188 kB / 430.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.004726, allocations: 4.375 kB / 430.6 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004732, allocations: 384 / 430.6 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.004766, allocations: 19.86 kB / 430.6 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.005069, allocations: 193.9 kB / 430.8 MB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.005136, allocations: 26.61 kB / 430.9 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.005157, allocations: 8.859 kB / 430.9 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.00519, allocations: 4 kB / 430.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005213, allocations: 34.5 kB / 430.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.005214, allocations: 4 kB / 430.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001303/0.005345, allocations: 45.78 kB / 431 MB, free: 1.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.005377, allocations: 59.39 kB / 431 MB, free: 1.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.005453, allocations: 122.6 kB / 431.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.005466, allocations: 25.7 kB / 431.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.005506, allocations: 95.97 kB / 431.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005525, allocations: 7.938 kB / 431.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.005559, allocations: 21.7 kB / 431.3 MB, free: 1.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.005648, allocations: 310.8 kB / 431.6 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.005663, allocations: 4 kB / 431.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.005676, allocations: 7.984 kB / 431.6 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.005712, allocations: 19.95 kB / 431.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005714, allocations: 0 / 431.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.668e-05/0.005781, allocations: 37.69 kB / 431.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.005797, allocations: 15.84 kB / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005801, allocations: 0 / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.005815, allocations: 7.922 kB / 431.7 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.005888, allocations: 8 kB / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.00589, allocations: 0 / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.005924, allocations: 11.94 kB / 431.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.005941, allocations: 8 kB / 431.7 MB, free: 0.6523 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 6.017e-05/0.006002, allocations: 112.7 kB / 431.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.006026, allocations: 7.938 kB / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.182e-05/0.006118, allocations: 49.67 kB / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00612, allocations: 0 / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006121, allocations: 0 / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006124, allocations: 0 / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.006252, allocations: 77.88 kB / 431.9 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006253, allocations: 0 / 431.9 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.0063, allocations: 15.92 kB / 432 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.006308, allocations: 7.984 kB / 432 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00631, allocations: 0 / 432 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006317, allocations: 7.938 kB / 432 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006318, allocations: 0 / 432 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006319, allocations: 0 / 432 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.006422, allocations: 135.5 kB / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.006433, allocations: 0 / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.006498, allocations: 11.94 kB / 432.1 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.006537, allocations: 7.984 kB / 432.1 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.006545, allocations: 4 kB / 432.1 MB, free: 176 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.006567, allocations: 20.78 kB / 432.2 MB, free: 152 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006567, allocations: 4 kB / 432.2 MB, free: 148 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.006791, allocations: 15.89 kB / 432.2 MB, free: 132 kB / 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 0.0001158/0.006907, allocations: 84.36 kB / 432.3 MB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1668/0.1737, allocations: 61.59 kB / 432.3 MB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.1737, allocations: 1.281 kB / 432.3 MB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.1738, allocations: 13.34 kB / 432.3 MB, free: 2.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.1739, allocations: 63.47 kB / 432.4 MB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.1743, allocations: 154.8 kB / 432.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.092e-05/0.1743, allocations: 60.11 kB / 432.6 MB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.1743, allocations: 3.781 kB / 432.6 MB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1744, allocations: 56.56 kB / 432.7 MB, free: 2.652 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1744, allocations: 1.625 kB / 432.7 MB, free: 2.652 MB / 410.7 MB Notification: Performance of Templates: time 0.00209/0.1765, allocations: 0.7833 MB / 433.4 MB, free: 2.641 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.253895561210811]