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.2161/0.2195, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002747/0.2223, allocations: 1.44 MB / 0.672 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003971/0.2227, allocations: 127.6 kB / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.2228, allocations: 0 / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/0.2228, allocations: 0 / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.2229, allocations: 3.938 kB / 0.6721 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.2231, allocations: 35.89 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.2232, allocations: 39.91 kB / 0.6722 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2234, allocations: 27.92 kB / 0.6722 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.2235, allocations: 15.94 kB / 0.6723 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.2235, allocations: 31.78 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2235, allocations: 4 kB / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.2236, allocations: 35.97 kB / 0.6723 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.2237, allocations: 11.98 kB / 0.6723 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.2237, allocations: 19.88 kB / 0.6724 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.2238, allocations: 59.84 kB / 0.6724 GB, free: 156 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2239, allocations: 0 / 0.6724 GB, free: 156 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2239, allocations: 0 / 0.6724 GB, free: 156 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2239, allocations: 0 / 0.6724 GB, free: 156 kB / 0.4981 GB 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.0005033/0.2244, allocations: 367.3 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.2244, allocations: 8.031 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.2255, allocations: 220.5 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2256, allocations: 164.3 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2257, allocations: 4.375 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2257, allocations: 384 / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2263, allocations: 213.3 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2264, allocations: 0 / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2264, allocations: 0 / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2264, allocations: 0 / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.2273, allocations: 275.6 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2283, allocations: 449 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2294, allocations: 290.1 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.2298, allocations: 100.8 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2298, allocations: 7.984 kB / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2299, allocations: 30.56 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2299, allocations: 0 / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001227/0.2311, allocations: 317.2 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2311, allocations: 51.41 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2312, allocations: 117.8 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2313, allocations: 29.7 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.2313, allocations: 84.14 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2313, allocations: 15.8 kB / 0.675 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.2314, allocations: 17.72 kB / 0.6751 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2315, allocations: 318.8 kB / 0.6754 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.2319, allocations: 95.88 kB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.2322, allocations: 91.88 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.2329, allocations: 172.6 kB / 0.6757 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2329, allocations: 0 / 0.6757 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000755/0.2337, allocations: 213.4 kB / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2337, allocations: 11.94 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2337, allocations: 0 / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2337, allocations: 384 / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.234, allocations: 39.94 kB / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.234, allocations: 0 / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.2343, allocations: 31.89 kB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.2343, allocations: 7.938 kB / 0.676 GB, free: 12.26 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.2344, allocations: 117.8 kB / 0.6761 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2345, allocations: 3.906 kB / 0.6761 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.2345, allocations: 7.906 kB / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2345, allocations: 0 / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2345, allocations: 0 / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2346, allocations: 7.938 kB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2348, allocations: 209.5 kB / 0.6763 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2348, allocations: 0 / 0.6763 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.235, allocations: 35.94 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2351, allocations: 0 / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2351, allocations: 4 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2351, allocations: 0 / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2351, allocations: 4 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.2359, allocations: 323.1 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.236, allocations: 77.11 kB / 0.6767 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.236, allocations: 0 / 0.6767 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.2362, allocations: 35.95 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.2363, allocations: 3.938 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.2363, allocations: 4.359 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.2364, allocations: 99.27 kB / 0.6769 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2364, allocations: 0 / 0.6769 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002349/0.2366, allocations: 15.94 kB / 0.6769 GB, free: 11.22 MB / 0.5137 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 (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.0001313/0.2368, allocations: 99.23 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007817/0.2376, allocations: 195.7 kB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2376, allocations: 0 / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.2381, allocations: 108 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2383, allocations: 8.031 kB / 0.6773 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.2392, allocations: 261.2 kB / 0.6775 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2396, allocations: 0.6846 MB / 0.6782 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.2397, allocations: 23.98 kB / 0.6782 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.2397, allocations: 7.719 kB / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2397, allocations: 0 / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of Templates: time 0.003401/0.2431, allocations: 0.9355 MB / 0.6792 GB, free: 8.855 MB / 0.5137 GB 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)