Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") [/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.2013/0.2032, allocations: 80.84 MB / 0.5899 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003125/0.2064, allocations: 1.496 MB / 0.5913 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.2074, allocations: 0.5781 MB / 0.5919 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.2074, allocations: 4 kB / 0.5919 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.2075, allocations: 3.984 kB / 0.5919 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.2075, allocations: 3.938 kB / 0.5919 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.2078, allocations: 43.91 kB / 0.5919 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.2079, allocations: 27.92 kB / 0.592 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.208, allocations: 7.984 kB / 0.592 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.2081, allocations: 15.92 kB / 0.592 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.2082, allocations: 19.92 kB / 0.592 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2082, allocations: 4 kB / 0.592 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2083, allocations: 47.95 kB / 0.5921 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.2084, allocations: 4 kB / 0.5921 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.2084, allocations: 15.88 kB / 0.5921 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.2086, allocations: 68.08 kB / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2086, allocations: 0 / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2086, allocations: 0 / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2086, allocations: 0 / 0.5921 GB, free: 4.605 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005263/0.2092, allocations: 350.8 kB / 0.5925 GB, free: 4.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.2092, allocations: 12.03 kB / 0.5925 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.2093, allocations: 0.9375 kB / 0.5925 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2094, allocations: 180.2 kB / 0.5927 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2094, allocations: 4.375 kB / 0.5927 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2095, allocations: 4.125 kB / 0.5927 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2096, allocations: 45.67 kB / 0.5927 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.2096, allocations: 4 kB / 0.5927 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.2097, allocations: 3.984 kB / 0.5927 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2097, allocations: 0 / 0.5927 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.2098, allocations: 23.98 kB / 0.5927 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.2102, allocations: 248.9 kB / 0.593 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.2103, allocations: 34.52 kB / 0.593 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.2103, allocations: 16.91 kB / 0.593 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/0.2112, allocations: 477.4 kB / 0.5935 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.2112, allocations: 34.56 kB / 0.5935 GB, free: 2.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.2112, allocations: 0 / 0.5935 GB, free: 2.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002719/0.2115, allocations: 61.69 kB / 0.5936 GB, free: 2.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.2116, allocations: 63.45 kB / 0.5936 GB, free: 2.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2117, allocations: 105.8 kB / 0.5937 GB, free: 2.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2117, allocations: 25.7 kB / 0.5938 GB, free: 2.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2118, allocations: 96.03 kB / 0.5939 GB, free: 2.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2118, allocations: 0 / 0.5939 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2119, allocations: 21.66 kB / 0.5939 GB, free: 2.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.212, allocations: 318.8 kB / 0.5942 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.2121, allocations: 12 kB / 0.5942 GB, free: 2.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.2121, allocations: 11.98 kB / 0.5942 GB, free: 2.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.238e-05/0.2122, allocations: 20.86 kB / 0.5942 GB, free: 2.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2122, allocations: 0 / 0.5942 GB, free: 2.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.2123, allocations: 61.52 kB / 0.5943 GB, free: 2.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2123, allocations: 9.875 kB / 0.5943 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2123, allocations: 0 / 0.5943 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2124, allocations: 4.094 kB / 0.5943 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.2124, allocations: 4 kB / 0.5943 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2125, allocations: 0 / 0.5943 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.2125, allocations: 7.984 kB / 0.5943 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2125, allocations: 4 kB / 0.5943 GB, free: 2.074 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 (2): * Single equations (assignments): 2 * 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.495e-05/0.2126, allocations: 109.8 kB / 0.5944 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.2127, allocations: 4 kB / 0.5944 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.2128, allocations: 65.2 kB / 0.5945 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2128, allocations: 0 / 0.5945 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2129, allocations: 0 / 0.5945 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2129, allocations: 0 / 0.5945 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.213, allocations: 173.5 kB / 0.5947 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2131, allocations: 0 / 0.5947 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.2131, allocations: 4 kB / 0.5947 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2131, allocations: 0 / 0.5947 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2131, allocations: 0 / 0.5947 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2131, allocations: 0 / 0.5947 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2131, allocations: 0 / 0.5947 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.2133, allocations: 163.4 kB / 0.5948 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.2134, allocations: 77.11 kB / 0.5949 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2134, allocations: 0 / 0.5949 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.2134, allocations: 7.984 kB / 0.5949 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2135, allocations: 0 / 0.5949 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2135, allocations: 3.938 kB / 0.5949 GB, free: 1.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.092e-05/0.2136, allocations: 91.31 kB / 0.595 GB, free: 1.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2136, allocations: 0 / 0.595 GB, free: 1.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.2138, allocations: 19.98 kB / 0.595 GB, free: 1.273 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 (2): * Single equations (assignments): 2 * 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.0001839/0.214, allocations: 127 kB / 0.5951 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.2142, allocations: 23.98 kB / 0.5951 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2142, allocations: 0 / 0.5951 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.2142, allocations: 8 kB / 0.5952 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.2145, allocations: 8.125 kB / 0.5952 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.2148, allocations: 138.4 kB / 0.5953 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2151, allocations: 0.6768 MB / 0.596 GB, free: 244 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.2151, allocations: 7.984 kB / 0.596 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.2151, allocations: 7.438 kB / 0.596 GB, free: 228 kB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2151, allocations: 4 kB / 0.596 GB, free: 224 kB / 446.1 MB Notification: Performance of Templates: time 0.002788/0.2179, allocations: 0.6515 MB / 0.5966 GB, free: 15.57 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)