Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") [/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.2329/0.2348, allocations: 80.83 MB / 0.5897 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003314/0.2381, allocations: 1.503 MB / 0.5911 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.2386, allocations: 131.5 kB / 0.5913 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.2386, allocations: 0 / 0.5913 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.131e-05/0.2387, allocations: 0 / 0.5913 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.669e-05/0.2388, allocations: 7.938 kB / 0.5913 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.2391, allocations: 19.97 kB / 0.5913 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.114e-05/0.2392, allocations: 39.91 kB / 0.5913 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2393, allocations: 24.22 kB / 0.5914 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.2394, allocations: 19.92 kB / 0.5914 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.2395, allocations: 19.86 kB / 0.5914 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.2395, allocations: 0 / 0.5914 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2396, allocations: 35.97 kB / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2396, allocations: 11.92 kB / 0.5914 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.2397, allocations: 23.86 kB / 0.5915 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2399, allocations: 59.81 kB / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2399, allocations: 0 / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2399, allocations: 0 / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2399, allocations: 0 / 0.5915 GB, free: 5.238 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006046/0.2405, allocations: 370.8 kB / 0.5919 GB, free: 4.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2406, allocations: 8.031 kB / 0.5919 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.2417, allocations: 208.6 kB / 0.5921 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.2419, allocations: 172.3 kB / 0.5922 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2419, allocations: 8.375 kB / 0.5922 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.2419, allocations: 4.375 kB / 0.5923 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.2425, allocations: 201.6 kB / 0.5924 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2426, allocations: 0 / 0.5924 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2426, allocations: 0 / 0.5924 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2426, allocations: 0 / 0.5924 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.2434, allocations: 287.5 kB / 0.5927 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2446, allocations: 433.2 kB / 0.5931 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2459, allocations: 290.1 kB / 0.5934 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.2462, allocations: 104.8 kB / 0.5935 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2463, allocations: 0 / 0.5935 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2463, allocations: 30.56 kB / 0.5935 GB, free: 3.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2463, allocations: 0 / 0.5935 GB, free: 3.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001138/0.2475, allocations: 313.2 kB / 0.5938 GB, free: 2.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.2475, allocations: 51.41 kB / 0.5939 GB, free: 2.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2476, allocations: 117.8 kB / 0.594 GB, free: 2.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.2477, allocations: 25.7 kB / 0.594 GB, free: 2.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.2478, allocations: 96.45 kB / 0.5941 GB, free: 2.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.2478, allocations: 15.89 kB / 0.5941 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.2479, allocations: 21.7 kB / 0.5942 GB, free: 2.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.248, allocations: 318.8 kB / 0.5945 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.2484, allocations: 95.81 kB / 0.5945 GB, free: 1.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.2488, allocations: 99.88 kB / 0.5946 GB, free: 1.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.2495, allocations: 172.6 kB / 0.5948 GB, free: 1.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2495, allocations: 0 / 0.5948 GB, free: 1.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008559/0.2504, allocations: 213.6 kB / 0.595 GB, free: 1.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2504, allocations: 8 kB / 0.595 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2504, allocations: 0 / 0.595 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2505, allocations: 48 / 0.595 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.2507, allocations: 39.88 kB / 0.5951 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2507, allocations: 3.984 kB / 0.5951 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.2509, allocations: 39.88 kB / 0.5951 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.251, allocations: 4 kB / 0.5951 GB, free: 1.34 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 0.0001282/0.2511, allocations: 109.8 kB / 0.5952 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.2511, allocations: 0 / 0.5952 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.2512, allocations: 15.89 kB / 0.5952 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2512, allocations: 0 / 0.5952 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2512, allocations: 4 kB / 0.5952 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2512, allocations: 7.875 kB / 0.5952 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.2515, allocations: 209.5 kB / 0.5954 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2515, allocations: 0 / 0.5954 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2517, allocations: 31.95 kB / 0.5955 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2517, allocations: 3.984 kB / 0.5955 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2517, allocations: 0 / 0.5955 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2517, allocations: 4 kB / 0.5955 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2517, allocations: 0 / 0.5955 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.2526, allocations: 315.9 kB / 0.5958 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.2527, allocations: 81.02 kB / 0.5958 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.2527, allocations: 4 kB / 0.5959 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2529, allocations: 39.94 kB / 0.5959 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.253, allocations: 0 / 0.5959 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.253, allocations: 3.938 kB / 0.5959 GB, free: 444 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2531, allocations: 95.27 kB / 0.596 GB, free: 348 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2531, allocations: 0 / 0.596 GB, free: 348 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.2534, allocations: 12.28 kB / 0.596 GB, free: 336 kB / 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.0001115/0.2535, allocations: 95.25 kB / 0.5961 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.2542, allocations: 199.7 kB / 0.5963 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2542, allocations: 3.938 kB / 0.5963 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.2546, allocations: 103.8 kB / 0.5964 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.255, allocations: 14.89 kB / 0.5964 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.2559, allocations: 271 kB / 0.5967 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2563, allocations: 0.6887 MB / 0.5973 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.2564, allocations: 19.98 kB / 0.5973 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.2565, allocations: 11.44 kB / 0.5974 GB, free: 14.88 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2565, allocations: 0 / 0.5974 GB, free: 14.88 MB / 462.1 MB Notification: Performance of Templates: time 0.003133/0.2596, allocations: 0.8302 MB / 0.5982 GB, free: 14.05 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)