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.001393/0.001393, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001872/0.001872, allocations: 169 kB / 23.02 MB, free: 1.551 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0021/0.0021, allocations: 232.7 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7481/0.7481, allocations: 138.4 MB / 455.2 MB, free: 1.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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 1.613e-06/1.613e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.732e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002191/0.002219, allocations: 1.592 MB / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003452/0.002564, allocations: 112.5 kB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.002622, allocations: 3.938 kB / 0.5568 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.002757, allocations: 11.92 kB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.364e-05/0.00278, allocations: 7.875 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.003038, allocations: 31.91 kB / 0.5568 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.003286, allocations: 51.84 kB / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003389, allocations: 15.97 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.003456, allocations: 39.91 kB / 0.5569 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.003515, allocations: 23.97 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.003533, allocations: 4 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.003598, allocations: 11.98 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.003639, allocations: 23.91 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.003668, allocations: 11.94 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.003803, allocations: 55.75 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003805, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003806, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.003811, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.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.0003948/0.004206, allocations: 396.5 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.004246, allocations: 12.75 kB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.00429, allocations: 8.891 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.004422, allocations: 128.5 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.004432, allocations: 4.375 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.004445, allocations: 4.375 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.0046, allocations: 74.86 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.00461, allocations: 4.188 kB / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004621, allocations: 384 / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.004628, allocations: 384 / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.004667, allocations: 23.88 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.005024, allocations: 303.6 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.005097, allocations: 35.06 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.005122, allocations: 11.62 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.005158, allocations: 4 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.005177, allocations: 33.39 kB / 0.5581 GB, free: 13.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.005179, allocations: 0 / 0.5581 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001606/0.005339, allocations: 57.77 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.005367, allocations: 51.41 kB / 0.5582 GB, free: 13.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.00545, allocations: 181.9 kB / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.005461, allocations: 25.7 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.00551, allocations: 142.8 kB / 0.5585 GB, free: 12.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.00553, allocations: 7.938 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.005561, allocations: 23.38 kB / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.00568, allocations: 496.1 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.005704, allocations: 4 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.005722, allocations: 11.98 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.005763, allocations: 15.91 kB / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.005766, allocations: 0 / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.329e-05/0.005849, allocations: 61.56 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.005868, allocations: 8 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.005874, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.005892, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.005977, allocations: 11.98 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.005982, allocations: 0 / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.006006, allocations: 4 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.006025, allocations: 4 kB / 0.5591 GB, free: 12.19 MB / 490.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.47e-05/0.00609, allocations: 156.6 kB / 0.5593 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.006111, allocations: 7.938 kB / 0.5593 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.006219, allocations: 57.61 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.006222, allocations: 4 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006226, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006229, allocations: 3.938 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.006336, allocations: 136.5 kB / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006338, allocations: 0 / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.006374, allocations: 8 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006378, allocations: 3.938 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.006387, allocations: 7.984 kB / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006388, allocations: 0 / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006389, allocations: 4 kB / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.006497, allocations: 191.9 kB / 0.5597 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.006509, allocations: 15.83 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.00652, allocations: 0 / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.006556, allocations: 8 kB / 0.5597 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.006594, allocations: 3.984 kB / 0.5597 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.006601, allocations: 4 kB / 0.5597 GB, free: 11.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.266e-05/0.006643, allocations: 139.5 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006644, allocations: 0 / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.006794, allocations: 8 kB / 0.5598 GB, free: 11.37 MB / 490.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.0001244/0.006918, allocations: 99.25 kB / 0.5599 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.465e-05/0.007013, allocations: 23.67 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007015, allocations: 0 / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.00704, allocations: 19.62 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.007238, allocations: 10.8 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.007544, allocations: 153.1 kB / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.007581, allocations: 59.34 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.00761, allocations: 8 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.007637, allocations: 12.5 kB / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007638, allocations: 0 / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of Templates: time 0.002648/0.01029, allocations: 0.8401 MB / 0.561 GB, free: 10.1 MB / 490.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.81445079902187]