Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.758/2.758, allocations: 287.3 MB / 302.3 MB, free: 8.379 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.001567/0.001566, allocations: 178.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00114/0.001139, allocations: 92.34 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005086, allocations: 12.88 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2307, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001875/0.2326, allocations: 1.238 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.233, allocations: 112.6 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.2331, allocations: 3.938 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.2332, allocations: 7.938 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.097e-05/0.2333, allocations: 7.938 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.2335, allocations: 27.95 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.2336, allocations: 27.97 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2337, allocations: 19.98 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.2338, allocations: 23.91 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.2339, allocations: 23.91 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2339, allocations: 7.938 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.234, allocations: 4 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.234, allocations: 11.98 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.2341, allocations: 33.58 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2342, allocations: 35.92 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2342, allocations: 4 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2342, allocations: 0 / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2342, allocations: 4 kB / 0.9797 GB, free: 26.78 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.0006096/0.2348, allocations: 383.4 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2349, allocations: 16.02 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.235, allocations: 7.906 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.2351, allocations: 186.9 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2352, allocations: 8 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2352, allocations: 3.984 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.2356, allocations: 97.58 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2356, allocations: 4 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2357, allocations: 4 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2357, allocations: 0 / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.2362, allocations: 103.9 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.237, allocations: 336.6 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.2373, allocations: 70.53 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.2374, allocations: 4 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2374, allocations: 30.56 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.2374, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000915/0.2383, allocations: 177.7 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2384, allocations: 55.41 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.2385, allocations: 113.8 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2385, allocations: 25.7 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.2386, allocations: 99.98 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2386, allocations: 7.906 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.2386, allocations: 0 / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.2387, allocations: 322.8 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.239, allocations: 43.97 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.2393, allocations: 43.95 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2395, allocations: 47.95 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2395, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005843/0.2401, allocations: 129.5 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2402, allocations: 4 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2402, allocations: 0 / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2402, allocations: 11.89 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2404, allocations: 31.97 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2405, allocations: 0 / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2406, allocations: 15.98 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.2407, allocations: 4 kB / 0.982 GB, free: 24.22 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 9.508e-05/0.2408, allocations: 113.8 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.2408, allocations: 11.89 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.2415, allocations: 137.5 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2415, allocations: 0 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2415, allocations: 3.953 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2415, allocations: 0 / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.2417, allocations: 173.6 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2418, allocations: 384 / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2419, allocations: 23.97 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.242, allocations: 4 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.242, allocations: 4 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.242, allocations: 0 / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.242, allocations: 0 / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.2426, allocations: 227.4 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.2427, allocations: 81.02 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2427, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2429, allocations: 23.98 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.243, allocations: 7.984 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.243, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.2431, allocations: 99.16 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2431, allocations: 3.938 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003113/0.2434, allocations: 11.94 kB / 0.9829 GB, free: 23.21 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.2436, allocations: 96.5 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.2442, allocations: 99.92 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2442, allocations: 4 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.2445, allocations: 47.95 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2448, allocations: 4 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.2453, allocations: 165.8 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.2455, allocations: 0.7004 MB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.2455, allocations: 4 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.2456, allocations: 11.42 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.2456, allocations: 4 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.003702/0.2493, allocations: 0.6003 MB / 0.9846 GB, free: 21.42 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)