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.2057/0.208, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00344/0.2115, allocations: 1.411 MB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005425/0.2121, allocations: 183.8 kB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.2121, allocations: 0 / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.2122, allocations: 3.938 kB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.2122, allocations: 0 / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.2126, allocations: 39.84 kB / 0.6722 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2127, allocations: 27.92 kB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2129, allocations: 4 kB / 0.6722 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.2129, allocations: 11.97 kB / 0.6723 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.213, allocations: 11.94 kB / 0.6723 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.213, allocations: 4 kB / 0.6723 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.2132, allocations: 35.97 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.2132, allocations: 3.984 kB / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.2132, allocations: 15.88 kB / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2134, allocations: 35.88 kB / 0.6724 GB, free: 232 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.2134, allocations: 4 kB / 0.6724 GB, free: 228 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.887e-06/0.2134, allocations: 0 / 0.6724 GB, free: 228 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.2134, allocations: 0 / 0.6724 GB, free: 228 kB / 0.4981 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.0006942/0.2141, allocations: 347.4 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.2142, allocations: 19.97 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.2142, allocations: 0.9375 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.2144, allocations: 168.3 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.2145, allocations: 4.375 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2145, allocations: 384 / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.2147, allocations: 53.61 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2147, allocations: 0 / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2148, allocations: 3.984 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2148, allocations: 0 / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.2149, allocations: 43.89 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.2153, allocations: 244.9 kB / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2155, allocations: 34.56 kB / 0.6732 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.2156, allocations: 28.89 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2157, allocations: 81.11 kB / 0.6733 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2157, allocations: 34.56 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2157, allocations: 0 / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.2161, allocations: 85.58 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2162, allocations: 55.34 kB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.2162, allocations: 106 kB / 0.6736 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.2163, allocations: 25.7 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.2164, allocations: 84.14 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2164, allocations: 7.844 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.2165, allocations: 17.72 kB / 0.6737 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2166, allocations: 318.8 kB / 0.674 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.2167, allocations: 15.98 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.2168, allocations: 19.98 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2169, allocations: 36.77 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2169, allocations: 0 / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.2171, allocations: 69.66 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2171, allocations: 8 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2171, allocations: 96 / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2172, allocations: 4 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.2173, allocations: 7.984 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2173, allocations: 0 / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.2173, allocations: 7.984 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2173, allocations: 4.25 kB / 0.6742 GB, free: 14.08 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.897e-05/0.2174, allocations: 109.8 kB / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2175, allocations: 3.906 kB / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.2177, allocations: 80.72 kB / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2177, allocations: 4 kB / 0.6744 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2177, allocations: 0 / 0.6744 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2178, allocations: 0 / 0.6744 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.218, allocations: 169.5 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.218, allocations: 0 / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.218, allocations: 7.984 kB / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.218, allocations: 0 / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2181, allocations: 0 / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2181, allocations: 8.031 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2181, allocations: 0 / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.2184, allocations: 167.4 kB / 0.6747 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.2184, allocations: 77.11 kB / 0.6748 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2184, allocations: 0 / 0.6748 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.2185, allocations: 15.95 kB / 0.6748 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2186, allocations: 0 / 0.6748 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2186, allocations: 8 kB / 0.6748 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.2187, allocations: 79.28 kB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2187, allocations: 0 / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002386/0.2189, allocations: 11.98 kB / 0.6749 GB, free: 13.25 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.0002411/0.2192, allocations: 111.2 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.2194, allocations: 47.91 kB / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2195, allocations: 0 / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2196, allocations: 23.91 kB / 0.6751 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.22, allocations: 4 kB / 0.6751 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.2204, allocations: 109.4 kB / 0.6752 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.2208, allocations: 0.6768 MB / 0.6759 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.2208, allocations: 8.109 kB / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.2208, allocations: 7.438 kB / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2208, allocations: 0 / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.003266/0.2241, allocations: 0.5894 MB / 0.6765 GB, free: 11.62 MB / 0.5137 GB 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)