Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") [/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.2391/0.2413, allocations: 80.83 MB / 0.5897 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003174/0.2446, allocations: 1.476 MB / 0.5911 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004635/0.2451, allocations: 183.5 kB / 0.5913 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.2451, allocations: 4 kB / 0.5913 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.2452, allocations: 3.938 kB / 0.5913 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.2452, allocations: 0 / 0.5913 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.2455, allocations: 31.91 kB / 0.5913 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.2456, allocations: 19.92 kB / 0.5913 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2457, allocations: 8 kB / 0.5914 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.2457, allocations: 11.92 kB / 0.5914 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.2458, allocations: 15.92 kB / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2458, allocations: 0 / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2459, allocations: 35.97 kB / 0.5914 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.246, allocations: 0 / 0.5914 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.246, allocations: 15.92 kB / 0.5914 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2462, allocations: 39.88 kB / 0.5915 GB, free: 5.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.2462, allocations: 4 kB / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2462, allocations: 0 / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.2462, allocations: 0 / 0.5915 GB, free: 5.238 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.000698/0.2469, allocations: 351.2 kB / 0.5918 GB, free: 4.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.247, allocations: 8.031 kB / 0.5918 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.247, allocations: 4.844 kB / 0.5918 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.2472, allocations: 168.4 kB / 0.592 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2472, allocations: 384 / 0.592 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2472, allocations: 4.375 kB / 0.592 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2474, allocations: 53.8 kB / 0.592 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2474, allocations: 0 / 0.592 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2474, allocations: 0 / 0.592 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.2475, allocations: 0 / 0.592 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.2476, allocations: 35.91 kB / 0.5921 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.248, allocations: 256.9 kB / 0.5923 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2481, allocations: 34.56 kB / 0.5923 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.2482, allocations: 20.91 kB / 0.5924 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.163e-05/0.2483, allocations: 85.09 kB / 0.5924 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2483, allocations: 38.5 kB / 0.5925 GB, free: 4.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.056e-06/0.2484, allocations: 7.984 kB / 0.5925 GB, free: 4.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003603/0.2487, allocations: 77.64 kB / 0.5926 GB, free: 3.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2488, allocations: 51.41 kB / 0.5926 GB, free: 3.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.2489, allocations: 97.86 kB / 0.5927 GB, free: 3.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2489, allocations: 29.7 kB / 0.5927 GB, free: 3.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2489, allocations: 92.03 kB / 0.5928 GB, free: 3.637 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.249, allocations: 8.062 kB / 0.5928 GB, free: 3.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.249, allocations: 17.66 kB / 0.5929 GB, free: 3.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2491, allocations: 318.8 kB / 0.5932 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.2492, allocations: 11.98 kB / 0.5932 GB, free: 3.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.2493, allocations: 23.97 kB / 0.5932 GB, free: 3.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2495, allocations: 40.83 kB / 0.5932 GB, free: 3.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2495, allocations: 4 kB / 0.5932 GB, free: 3.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.2497, allocations: 65.56 kB / 0.5933 GB, free: 3.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2497, allocations: 11.94 kB / 0.5933 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2497, allocations: 0 / 0.5933 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2497, allocations: 0 / 0.5933 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.2498, allocations: 7.984 kB / 0.5933 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2498, allocations: 32 / 0.5933 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.2499, allocations: 8.25 kB / 0.5933 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2499, allocations: 4 kB / 0.5933 GB, free: 3.102 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 8.802e-05/0.25, allocations: 118.6 kB / 0.5934 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.25, allocations: 4 kB / 0.5934 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.2503, allocations: 76.72 kB / 0.5935 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2503, allocations: 4.031 kB / 0.5935 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2503, allocations: 0 / 0.5935 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2503, allocations: 0 / 0.5935 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2505, allocations: 165.6 kB / 0.5937 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2505, allocations: 0 / 0.5937 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.2505, allocations: 4 kB / 0.5937 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2505, allocations: 0 / 0.5937 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2505, allocations: 0 / 0.5937 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2506, allocations: 7.984 kB / 0.5937 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2506, allocations: 0 / 0.5937 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2508, allocations: 167.4 kB / 0.5938 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2509, allocations: 85 kB / 0.5939 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2509, allocations: 0 / 0.5939 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.251, allocations: 4 kB / 0.5939 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.251, allocations: 3.984 kB / 0.5939 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.251, allocations: 4 kB / 0.5939 GB, free: 2.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.313e-05/0.2511, allocations: 87.31 kB / 0.594 GB, free: 2.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2511, allocations: 0 / 0.594 GB, free: 2.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.2513, allocations: 8 kB / 0.594 GB, free: 2.281 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.0001905/0.2515, allocations: 107.2 kB / 0.5941 GB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.2517, allocations: 35.97 kB / 0.5942 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2517, allocations: 0 / 0.5942 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.2519, allocations: 27.98 kB / 0.5942 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2522, allocations: 11.86 kB / 0.5942 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.2525, allocations: 108 kB / 0.5943 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2528, allocations: 0.6731 MB / 0.595 GB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.989e-05/0.2529, allocations: 4 kB / 0.595 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.2529, allocations: 15.48 kB / 0.595 GB, free: 1.242 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2529, allocations: 0 / 0.595 GB, free: 1.242 MB / 446.1 MB Notification: Performance of Templates: time 0.002687/0.2556, allocations: 0.5069 MB / 0.5955 GB, free: 0.7422 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)