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.2288/0.2295, allocations: 82.22 MB / 0.5935 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00223/0.2319, allocations: 1.151 MB / 0.5946 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.233, allocations: 0.5437 MB / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.2331, allocations: 0 / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.2331, allocations: 3.984 kB / 0.5951 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.2332, allocations: 7.938 kB / 0.5951 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.2335, allocations: 39.89 kB / 0.5952 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.2336, allocations: 19.94 kB / 0.5952 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2338, allocations: 15.92 kB / 0.5952 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2339, allocations: 11.94 kB / 0.5952 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.234, allocations: 11.92 kB / 0.5952 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.234, allocations: 3.938 kB / 0.5952 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.2342, allocations: 55.94 kB / 0.5953 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.2342, allocations: 0 / 0.5953 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2343, allocations: 29.64 kB / 0.5953 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2344, allocations: 48.16 kB / 0.5954 GB, free: 4.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2345, allocations: 0 / 0.5954 GB, free: 4.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2345, allocations: 0 / 0.5954 GB, free: 4.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2345, allocations: 8 kB / 0.5954 GB, free: 4.035 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.0005658/0.2351, allocations: 339.3 kB / 0.5957 GB, free: 3.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2351, allocations: 8.031 kB / 0.5957 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.2352, allocations: 7.906 kB / 0.5957 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.2354, allocations: 163 kB / 0.5959 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2354, allocations: 4 kB / 0.5959 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2354, allocations: 7.953 kB / 0.5959 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.2356, allocations: 49.67 kB / 0.5959 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2357, allocations: 0 / 0.5959 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2357, allocations: 0 / 0.5959 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.2357, allocations: 4 kB / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.2358, allocations: 23.92 kB / 0.5959 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.2362, allocations: 252.9 kB / 0.5962 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2364, allocations: 34.58 kB / 0.5962 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.2364, allocations: 24.91 kB / 0.5962 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009522/0.2374, allocations: 493.4 kB / 0.5967 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.2374, allocations: 38.55 kB / 0.5967 GB, free: 2.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.2374, allocations: 0 / 0.5967 GB, free: 2.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.2378, allocations: 73.53 kB / 0.5968 GB, free: 2.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.2379, allocations: 51.41 kB / 0.5969 GB, free: 2.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.238, allocations: 109.8 kB / 0.597 GB, free: 2.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.238, allocations: 29.77 kB / 0.597 GB, free: 2.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.2381, allocations: 92.12 kB / 0.5971 GB, free: 1.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.2381, allocations: 3.906 kB / 0.5971 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.2382, allocations: 4 kB / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2383, allocations: 314.8 kB / 0.5974 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.2384, allocations: 11.98 kB / 0.5974 GB, free: 1.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.2384, allocations: 12 kB / 0.5974 GB, free: 1.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.2385, allocations: 20 kB / 0.5974 GB, free: 1.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2385, allocations: 0 / 0.5974 GB, free: 1.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001339/0.2386, allocations: 57.62 kB / 0.5975 GB, free: 1.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2387, allocations: 4 kB / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-06/0.2387, allocations: 3.938 kB / 0.5975 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2387, allocations: 0 / 0.5975 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2388, allocations: 16.02 kB / 0.5975 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2388, allocations: 4 kB / 0.5975 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.2389, allocations: 4 kB / 0.5975 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2389, allocations: 0 / 0.5975 GB, free: 1.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.239, allocations: 109.8 kB / 0.5976 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.239, allocations: 7.906 kB / 0.5976 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.2392, allocations: 73.14 kB / 0.5977 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.2393, allocations: 0 / 0.5977 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2393, allocations: 0 / 0.5977 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2393, allocations: 0 / 0.5977 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.2395, allocations: 165.6 kB / 0.5979 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2395, allocations: 3.953 kB / 0.5979 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.2395, allocations: 4 kB / 0.5979 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.2396, allocations: 0 / 0.5979 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2396, allocations: 7.984 kB / 0.5979 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2396, allocations: 0 / 0.5979 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2396, allocations: 4.344 kB / 0.5979 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.2398, allocations: 151.5 kB / 0.598 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2399, allocations: 84.97 kB / 0.5981 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.2399, allocations: 0 / 0.5981 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.24, allocations: 11.92 kB / 0.5981 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.24, allocations: 8.016 kB / 0.5981 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.24, allocations: 4 kB / 0.5981 GB, free: 0.793 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.2401, allocations: 95.19 kB / 0.5982 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2401, allocations: 0 / 0.5982 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.2404, allocations: 16 kB / 0.5982 GB, free: 0.6836 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00024/0.2406, allocations: 119.2 kB / 0.5983 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2408, allocations: 27.98 kB / 0.5984 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2408, allocations: 0 / 0.5984 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.2409, allocations: 12 kB / 0.5984 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2411, allocations: 0 / 0.5984 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.2415, allocations: 140.5 kB / 0.5985 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.2419, allocations: 0.685 MB / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.2419, allocations: 0 / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.242, allocations: 7.438 kB / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.242, allocations: 0 / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Templates: time 0.003743/0.2457, allocations: 0.623 MB / 0.5998 GB, free: 15.02 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: