Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2226/0.2246, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003746/0.2284, allocations: 1.581 MB / 0.5912 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.2289, allocations: 103.7 kB / 0.5913 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.2289, allocations: 0 / 0.5913 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2291, allocations: 3.938 kB / 0.5913 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.2291, allocations: 7.938 kB / 0.5913 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.2294, allocations: 23.97 kB / 0.5913 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.2295, allocations: 55.78 kB / 0.5914 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2296, allocations: 27.97 kB / 0.5914 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.2297, allocations: 19.92 kB / 0.5914 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.2298, allocations: 27.91 kB / 0.5915 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2298, allocations: 4 kB / 0.5915 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.2299, allocations: 12 kB / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2299, allocations: 15.92 kB / 0.5915 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.23, allocations: 19.86 kB / 0.5915 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2301, allocations: 64.02 kB / 0.5916 GB, free: 5.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2301, allocations: 0 / 0.5916 GB, free: 5.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2301, allocations: 0 / 0.5916 GB, free: 5.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2302, allocations: 0 / 0.5916 GB, free: 5.141 MB / 446.1 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.0006067/0.2308, allocations: 383.3 kB / 0.5919 GB, free: 4.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2308, allocations: 8.031 kB / 0.592 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.2309, allocations: 8.844 kB / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2311, allocations: 188.2 kB / 0.5921 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2311, allocations: 384 / 0.5921 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.2311, allocations: 4.375 kB / 0.5921 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.2314, allocations: 93.69 kB / 0.5922 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.2314, allocations: 0 / 0.5922 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2315, allocations: 4 kB / 0.5922 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2315, allocations: 4 kB / 0.5922 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.2318, allocations: 75.92 kB / 0.5923 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.2324, allocations: 340.5 kB / 0.5926 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.2326, allocations: 51.25 kB / 0.5927 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2328, allocations: 48.94 kB / 0.5927 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.2329, allocations: 4 kB / 0.5927 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2329, allocations: 34.56 kB / 0.5928 GB, free: 3.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.2329, allocations: 0 / 0.5928 GB, free: 3.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005489/0.2334, allocations: 133.5 kB / 0.5929 GB, free: 3.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.2335, allocations: 55.39 kB / 0.593 GB, free: 3.555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2336, allocations: 121.8 kB / 0.5931 GB, free: 3.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2337, allocations: 25.7 kB / 0.5931 GB, free: 3.395 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.2338, allocations: 84.14 kB / 0.5932 GB, free: 3.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.2338, allocations: 23.78 kB / 0.5932 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.2338, allocations: 13.72 kB / 0.5932 GB, free: 3.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.234, allocations: 318.8 kB / 0.5935 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2342, allocations: 43.89 kB / 0.5936 GB, free: 2.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2343, allocations: 35.95 kB / 0.5936 GB, free: 2.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.2346, allocations: 72.78 kB / 0.5937 GB, free: 2.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2346, allocations: 0 / 0.5937 GB, free: 2.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003047/0.2349, allocations: 101.9 kB / 0.5938 GB, free: 2.688 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2349, allocations: 11.94 kB / 0.5938 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2349, allocations: 0 / 0.5938 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2349, allocations: 4.031 kB / 0.5938 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2351, allocations: 19.97 kB / 0.5938 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2351, allocations: 0 / 0.5938 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.2352, allocations: 15.86 kB / 0.5938 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.2352, allocations: 4 kB / 0.5938 GB, free: 2.633 MB / 446.1 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 9.648e-05/0.2353, allocations: 117.8 kB / 0.5939 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2354, allocations: 7.891 kB / 0.5939 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.2357, allocations: 109.5 kB / 0.594 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2357, allocations: 0 / 0.594 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2358, allocations: 0 / 0.594 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2358, allocations: 7.938 kB / 0.594 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.236, allocations: 181.6 kB / 0.5942 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.236, allocations: 0 / 0.5942 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.2361, allocations: 19.97 kB / 0.5942 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2361, allocations: 3.938 kB / 0.5942 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2361, allocations: 4 kB / 0.5942 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2361, allocations: 0 / 0.5942 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2361, allocations: 3.938 kB / 0.5942 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.2365, allocations: 207.3 kB / 0.5944 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2366, allocations: 77.11 kB / 0.5945 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.2366, allocations: 0 / 0.5945 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2367, allocations: 11.98 kB / 0.5945 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.2368, allocations: 7.984 kB / 0.5945 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.2368, allocations: 7.938 kB / 0.5945 GB, free: 1.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.2369, allocations: 94.44 kB / 0.5946 GB, free: 1.691 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2369, allocations: 0 / 0.5946 GB, free: 1.691 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.2371, allocations: 8 kB / 0.5946 GB, free: 1.684 MB / 446.1 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.0001463/0.2372, allocations: 99.25 kB / 0.5947 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.2376, allocations: 79.86 kB / 0.5948 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2376, allocations: 0 / 0.5948 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2377, allocations: 43.89 kB / 0.5949 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.2381, allocations: 8 kB / 0.5949 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.2385, allocations: 167.2 kB / 0.595 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2388, allocations: 0.6887 MB / 0.5957 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.2388, allocations: 12 kB / 0.5957 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.2388, allocations: 7.438 kB / 0.5957 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2388, allocations: 0 / 0.5957 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of Templates: time 0.003178/0.242, allocations: 0.6453 MB / 0.5963 GB, free: 15.89 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)