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.2184/0.2206, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.0028/0.2234, allocations: 1.432 MB / 0.672 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2245, allocations: 0.5969 MB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.2246, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.2246, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.2247, allocations: 3.938 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.225, allocations: 47.81 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.2251, allocations: 31.81 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2252, allocations: 7.984 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.2253, allocations: 16 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.2254, allocations: 15.92 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2254, allocations: 4 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.2255, allocations: 51.94 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2256, allocations: 11.94 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.2256, allocations: 3.938 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.2258, allocations: 67.8 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2258, allocations: 0 / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2258, allocations: 0 / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2258, allocations: 0 / 0.6728 GB, free: 15.71 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.000503/0.2263, allocations: 355.5 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2263, allocations: 8.031 kB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.2264, allocations: 4.844 kB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2265, allocations: 172.3 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.2266, allocations: 4.312 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2266, allocations: 7.938 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2267, allocations: 41.69 kB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2268, allocations: 0 / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2268, allocations: 0 / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2268, allocations: 4 kB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.2269, allocations: 19.98 kB / 0.6734 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2273, allocations: 252.8 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/0.2274, allocations: 42.44 kB / 0.6737 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.2274, allocations: 12.92 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008275/0.2282, allocations: 481.4 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.2283, allocations: 34.56 kB / 0.6742 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2283, allocations: 0 / 0.6742 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002605/0.2286, allocations: 69.61 kB / 0.6743 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2286, allocations: 55.34 kB / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2287, allocations: 113.8 kB / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2287, allocations: 25.7 kB / 0.6745 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.2288, allocations: 84.14 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.2288, allocations: 7.906 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.2289, allocations: 13.72 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.229, allocations: 318.9 kB / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.2291, allocations: 12 kB / 0.6749 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.2291, allocations: 11.98 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.2292, allocations: 24.84 kB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2292, allocations: 0 / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.2293, allocations: 53.69 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2294, allocations: 11.94 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2294, allocations: 4.094 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2294, allocations: 0 / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.2295, allocations: 7.984 kB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2295, allocations: 0 / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.2296, allocations: 3.906 kB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2296, allocations: 4 kB / 0.675 GB, free: 13.18 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.806e-05/0.2297, allocations: 109.8 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2297, allocations: 4 kB / 0.6751 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.2299, allocations: 65.2 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2299, allocations: 3.984 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2299, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2299, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2301, allocations: 165.6 kB / 0.6753 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2301, allocations: 0 / 0.6753 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.2302, allocations: 11.94 kB / 0.6754 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2302, allocations: 3.984 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2302, allocations: 0 / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2302, allocations: 3.938 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2302, allocations: 4.031 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2304, allocations: 151.5 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.2305, allocations: 84.95 kB / 0.6756 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2305, allocations: 3.984 kB / 0.6756 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.2306, allocations: 4 kB / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.2306, allocations: 0 / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2306, allocations: 4.031 kB / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.2307, allocations: 91.27 kB / 0.6757 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2307, allocations: 0 / 0.6757 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000234/0.2309, allocations: 19.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.0002023/0.2311, allocations: 123.1 kB / 0.6758 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.2313, allocations: 23.92 kB / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2313, allocations: 0 / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.2314, allocations: 12.06 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.0002156/0.2316, allocations: 11.98 kB / 0.6759 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.232, allocations: 118.6 kB / 0.676 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2323, allocations: 0.6807 MB / 0.6766 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.2324, allocations: 3.938 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.2324, allocations: 11.44 kB / 0.6767 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.2324, allocations: 0 / 0.6767 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.003496/0.2359, allocations: 0.6723 MB / 0.6773 GB, free: 10.65 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)