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.2092/0.2114, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002749/0.2142, allocations: 1.438 MB / 0.672 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2152, allocations: 0.5892 MB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.2152, allocations: 0 / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.2153, allocations: 3.938 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.2153, allocations: 3.938 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2156, allocations: 47.77 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.2157, allocations: 31.86 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.2158, allocations: 4 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.2159, allocations: 19.98 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.2159, allocations: 15.92 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.216, allocations: 4 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2161, allocations: 51.95 kB / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2161, allocations: 7.938 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.2161, allocations: 11.92 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.2163, allocations: 63.8 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2163, allocations: 4 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2163, allocations: 0 / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2163, allocations: 3.938 kB / 0.6729 GB, free: 15.72 MB / 0.5137 GB 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.0004507/0.2168, allocations: 351.5 kB / 0.6732 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2168, allocations: 8.031 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.2169, allocations: 8.844 kB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.217, allocations: 168.3 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.217, allocations: 8.312 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2171, allocations: 3.938 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2172, allocations: 41.69 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2172, allocations: 0 / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2172, allocations: 0 / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2172, allocations: 4 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.2173, allocations: 27.97 kB / 0.6734 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.2177, allocations: 264.7 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.2178, allocations: 26.56 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.2178, allocations: 16.92 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.2186, allocations: 473.4 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2186, allocations: 38.56 kB / 0.6742 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2187, allocations: 0 / 0.6742 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.2189, allocations: 65.61 kB / 0.6743 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2189, allocations: 51.41 kB / 0.6743 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.219, allocations: 117.8 kB / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2191, allocations: 25.7 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.2191, allocations: 80.14 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.2191, allocations: 7.906 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2192, allocations: 17.7 kB / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2193, allocations: 314.9 kB / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.2193, allocations: 19.98 kB / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.2194, allocations: 4 kB / 0.6749 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/0.2195, allocations: 28.84 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2195, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.2196, allocations: 57.62 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2196, allocations: 4 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2196, allocations: 4.094 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2196, allocations: 3.984 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.2197, allocations: 4 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2197, allocations: 0 / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.2198, allocations: 7.906 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2198, allocations: 0 / 0.675 GB, free: 13.2 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 (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 7.518e-05/0.2198, allocations: 117.8 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.2199, allocations: 0 / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.2201, allocations: 73.12 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2201, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2201, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2201, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2202, allocations: 161.6 kB / 0.6753 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2203, allocations: 0 / 0.6753 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.2203, allocations: 7.984 kB / 0.6753 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2203, allocations: 3.938 kB / 0.6754 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.2203, allocations: 7.938 kB / 0.6754 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2203, allocations: 4 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2204, allocations: 4.031 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.2205, allocations: 147.5 kB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.2206, allocations: 84.95 kB / 0.6756 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2206, allocations: 8 kB / 0.6756 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.2207, allocations: 3.938 kB / 0.6756 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2207, allocations: 4 kB / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2207, allocations: 8.031 kB / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.2207, allocations: 83.27 kB / 0.6757 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2208, allocations: 0 / 0.6757 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002264/0.221, allocations: 23.94 kB / 0.6757 GB, free: 12.36 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 (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.0001737/0.2212, allocations: 115.2 kB / 0.6758 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2213, allocations: 23.98 kB / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2213, allocations: 0 / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.2214, allocations: 16.05 kB / 0.6759 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2216, allocations: 4 kB / 0.6759 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.2219, allocations: 126.5 kB / 0.676 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2221, allocations: 0.6768 MB / 0.6766 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.2222, allocations: 4 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.2222, allocations: 7.438 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2222, allocations: 64 / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.002887/0.2251, allocations: 0.6766 MB / 0.6773 GB, free: 10.66 MB / 0.5137 GB 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)