Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 288.4 MB / 304.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009141/0.0009143, allocations: 183.3 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 0.6316 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008168, allocations: 94.28 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 20.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001595/0.2245, allocations: 1.234 MB / 0.9819 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002786/0.2248, allocations: 108.5 kB / 0.982 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.2248, allocations: 0 / 0.982 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.225, allocations: 15.88 kB / 0.9821 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.397e-05/0.225, allocations: 15.91 kB / 0.9821 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.2252, allocations: 15.98 kB / 0.9821 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.2253, allocations: 43.84 kB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2254, allocations: 23.98 kB / 0.9821 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.2255, allocations: 19.92 kB / 0.9822 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.2256, allocations: 31.83 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2256, allocations: 4 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.2256, allocations: 8 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.2257, allocations: 11.98 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.2257, allocations: 45.52 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.2258, allocations: 39.92 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2258, allocations: 0 / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2258, allocations: 4 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2258, allocations: 0 / 0.9823 GB, free: 25.73 MB / 0.6198 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.0004464/0.2263, allocations: 376.4 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2263, allocations: 12.02 kB / 0.9827 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2264, allocations: 8.844 kB / 0.9827 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2265, allocations: 192.2 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.2265, allocations: 384 / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.2266, allocations: 8.375 kB / 0.9829 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.2268, allocations: 94.2 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2268, allocations: 192 / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2269, allocations: 3.938 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2269, allocations: 4 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.2272, allocations: 107.8 kB / 0.9831 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.2276, allocations: 332.7 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2278, allocations: 78.56 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.228, allocations: 56.91 kB / 0.9835 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.228, allocations: 3.984 kB / 0.9835 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2281, allocations: 38.56 kB / 0.9836 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2281, allocations: 0 / 0.9836 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005057/0.2286, allocations: 169.5 kB / 0.9837 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2286, allocations: 51.41 kB / 0.9838 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.2287, allocations: 121.8 kB / 0.9839 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.2287, allocations: 25.7 kB / 0.9839 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2287, allocations: 95.97 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2288, allocations: 11.91 kB / 0.984 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2288, allocations: 0 / 0.984 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.2288, allocations: 318.8 kB / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.229, allocations: 47.97 kB / 0.9844 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2291, allocations: 47.95 kB / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.2295, allocations: 96.78 kB / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2295, allocations: 0 / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003962/0.2299, allocations: 121.6 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2299, allocations: 4 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2299, allocations: 11.88 kB / 0.9846 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2299, allocations: 0 / 0.9846 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2301, allocations: 23.92 kB / 0.9847 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.2301, allocations: 4 kB / 0.9847 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.2302, allocations: 23.89 kB / 0.9847 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2302, allocations: 0 / 0.9847 GB, free: 23.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.2303, allocations: 123.1 kB / 0.9848 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.2303, allocations: 4 kB / 0.9848 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.2306, allocations: 133.5 kB / 0.9849 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2306, allocations: 0 / 0.9849 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2307, allocations: 7.984 kB / 0.9849 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.2307, allocations: 85.02 kB / 0.985 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.2307, allocations: 0 / 0.985 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.2308, allocations: 19.92 kB / 0.985 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.2309, allocations: 7.922 kB / 0.9851 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003463/0.2312, allocations: 216.9 kB / 0.9853 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003195/0.2315, allocations: 296 kB / 0.9855 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001385/0.2317, allocations: 43.95 kB / 0.9856 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.2317, allocations: 99.2 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of Backend: time 5.41e-07/0.2317, allocations: 0 / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.2322, allocations: 134.4 kB / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004315/0.2326, allocations: 0.611 MB / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.002904/0.2356, allocations: 0.7867 MB / 0.9872 GB, free: 20.42 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)