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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 178.6 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007597/0.0007599, allocations: 86.97 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004461, allocations: 9.531 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001483/0.2257, allocations: 1.25 MB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.226, allocations: 116.6 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.2261, allocations: 3.938 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/0.2262, allocations: 0 / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.992e-05/0.2262, allocations: 3.938 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.2264, allocations: 27.91 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.2265, allocations: 47.84 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2266, allocations: 23.98 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.2266, allocations: 19.92 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.2267, allocations: 23.91 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2267, allocations: 0 / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.2268, allocations: 11.92 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.2268, allocations: 15.92 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.2268, allocations: 33.64 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.22e-05/0.2269, allocations: 35.94 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.227, allocations: 0 / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.227, allocations: 4 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.227, allocations: 0 / 0.9024 GB, free: 62.25 MB / 0.6042 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.0004331/0.2274, allocations: 383.4 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2274, allocations: 8.031 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.2275, allocations: 15.89 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2276, allocations: 186.9 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2276, allocations: 4 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.2277, allocations: 4 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2279, allocations: 97.62 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2279, allocations: 4 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.228, allocations: 0 / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.228, allocations: 4 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.2283, allocations: 103.9 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.2287, allocations: 336.6 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.2289, allocations: 74.56 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2291, allocations: 52.91 kB / 0.9036 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.2291, allocations: 0 / 0.9036 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2291, allocations: 34.56 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2292, allocations: 0 / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.2297, allocations: 177.4 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2297, allocations: 51.41 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.2298, allocations: 125.7 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2298, allocations: 25.7 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.2299, allocations: 88.05 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.2299, allocations: 19.83 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.2299, allocations: 0 / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.2299, allocations: 318.8 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2301, allocations: 43.95 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2302, allocations: 43.97 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2304, allocations: 47.95 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2304, allocations: 4 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.2307, allocations: 125.6 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2307, allocations: 4 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2307, allocations: 7.984 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2308, allocations: 3.953 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2309, allocations: 19.98 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2309, allocations: 0 / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.231, allocations: 27.89 kB / 0.9047 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.231, allocations: 0 / 0.9047 GB, free: 59.64 MB / 0.6042 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.601e-05/0.2311, allocations: 121.8 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2311, allocations: 4 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.2315, allocations: 129.8 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2315, allocations: 3.953 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2315, allocations: 0 / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2315, allocations: 48 / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2316, allocations: 189.6 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2316, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.2317, allocations: 23.97 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2318, allocations: 4 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.2318, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2318, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2318, allocations: 3.953 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.2321, allocations: 231.3 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2321, allocations: 77.11 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2322, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2323, allocations: 15.98 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.2323, allocations: 7.984 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2323, allocations: 3.953 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.2324, allocations: 95.64 kB / 0.9056 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2324, allocations: 4 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002063/0.2326, allocations: 15.91 kB / 0.9056 GB, free: 58.63 MB / 0.6042 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.0001335/0.2327, allocations: 99.25 kB / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.2331, allocations: 99.86 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2331, allocations: 0 / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.2332, allocations: 51.95 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2335, allocations: 8.984 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.2339, allocations: 190.2 kB / 0.906 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.234, allocations: 0.6926 MB / 0.9067 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.234, allocations: 11.44 kB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2341, allocations: 0 / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.00215/0.2362, allocations: 0.9217 MB / 0.9076 GB, free: 56.5 MB / 0.6042 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)