Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004151/0.004151, allocations: 101 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009518/0.0009519, allocations: 182.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.7 MB / 0.5094 GB, free: 3.09 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.89 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1911, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00231/0.1935, allocations: 1.533 MB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.1938, allocations: 112.5 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.1938, allocations: 4 kB / 0.8297 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.194, allocations: 11.86 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.168e-05/0.194, allocations: 3.938 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1942, allocations: 27.97 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.1943, allocations: 63.77 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1945, allocations: 27.92 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.1945, allocations: 27.91 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.1946, allocations: 23.92 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1946, allocations: 4 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.1947, allocations: 15.98 kB / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.1947, allocations: 15.92 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.1948, allocations: 27.86 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1949, allocations: 59.81 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1949, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.916e-06/0.1949, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1949, allocations: 3.938 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB 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.0005204/0.1954, allocations: 391.1 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1955, allocations: 8.031 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1955, allocations: 4.938 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1957, allocations: 192.2 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1957, allocations: 384 / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1957, allocations: 8.375 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.196, allocations: 78.2 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.196, allocations: 8.125 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.196, allocations: 7.938 kB / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.196, allocations: 0 / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1963, allocations: 79.91 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1968, allocations: 332.6 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.197, allocations: 62.53 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1971, allocations: 40.91 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1971, allocations: 0 / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1972, allocations: 34.56 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.906e-06/0.1972, allocations: 3.984 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005188/0.1977, allocations: 145.5 kB / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1978, allocations: 51.41 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.1978, allocations: 117.6 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1979, allocations: 29.7 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.1979, allocations: 96.06 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1979, allocations: 11.81 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.198, allocations: 13.72 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1981, allocations: 326.8 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1982, allocations: 27.97 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1984, allocations: 35.95 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1986, allocations: 76.78 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1987, allocations: 0 / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003055/0.199, allocations: 105.5 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.199, allocations: 8 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.199, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.199, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1991, allocations: 19.98 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1991, allocations: 0 / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.1992, allocations: 7.984 kB / 0.8322 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1992, allocations: 11.92 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB 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.447e-05/0.1993, allocations: 121.7 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1993, allocations: 3.906 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.1997, allocations: 121.4 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1997, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1997, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1997, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1999, allocations: 181.6 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1999, allocations: 4 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.2, allocations: 11.98 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2, allocations: 4 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2, allocations: 4 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2, allocations: 4 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.2004, allocations: 203.3 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.2004, allocations: 81.11 kB / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2004, allocations: 0 / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2005, allocations: 15.97 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.2006, allocations: 4.359 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2006, allocations: 4 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.2006, allocations: 99.2 kB / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2006, allocations: 0 / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002062/0.2008, allocations: 8 kB / 0.833 GB, free: 10.77 MB / 0.6544 GB 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.000117/0.201, allocations: 107.2 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.2013, allocations: 75.91 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2013, allocations: 0 / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2015, allocations: 44.05 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2017, allocations: 10.8 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.202, allocations: 153.5 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2023, allocations: 0.7 MB / 0.8341 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.2023, allocations: 7.984 kB / 0.8341 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.2023, allocations: 7.438 kB / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2023, allocations: 0 / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of Templates: time 0.00268/0.205, allocations: 0.7612 MB / 0.8348 GB, free: 8.859 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)