Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") [/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.2079/0.2087, allocations: 82.21 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002811/0.2116, allocations: 1.42 MB / 0.5947 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2128, allocations: 0.6208 MB / 0.5954 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.2129, allocations: 0 / 0.5954 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.2129, allocations: 7.922 kB / 0.5954 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.213, allocations: 19.92 kB / 0.5954 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2135, allocations: 147 kB / 0.5955 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2137, allocations: 63.92 kB / 0.5956 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2139, allocations: 37.28 kB / 0.5956 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.214, allocations: 47.77 kB / 0.5957 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2141, allocations: 39.78 kB / 0.5957 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2141, allocations: 4 kB / 0.5957 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.2142, allocations: 39.95 kB / 0.5957 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.2143, allocations: 23.92 kB / 0.5958 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.2143, allocations: 37.64 kB / 0.5958 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.2145, allocations: 100 kB / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2145, allocations: 0 / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2145, allocations: 0 / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2145, allocations: 4 kB / 0.5959 GB, free: 3.367 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006421/0.2152, allocations: 426 kB / 0.5963 GB, free: 2.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2152, allocations: 8.031 kB / 0.5963 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.2161, allocations: 139.6 kB / 0.5964 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2162, allocations: 182.8 kB / 0.5966 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.2163, allocations: 71.39 kB / 0.5967 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.2164, allocations: 12 kB / 0.5967 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.2169, allocations: 185.5 kB / 0.5969 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2169, allocations: 3.984 kB / 0.5969 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2169, allocations: 4 kB / 0.5969 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2169, allocations: 4 kB / 0.5969 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.2176, allocations: 189.9 kB / 0.5971 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.2186, allocations: 0.509 MB / 0.5976 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2196, allocations: 278.2 kB / 0.5978 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2196, allocations: 4 kB / 0.5978 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2197, allocations: 30.56 kB / 0.5979 GB, free: 1.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2197, allocations: 0 / 0.5979 GB, free: 1.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00103/0.2207, allocations: 313.6 kB / 0.5982 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2208, allocations: 59.34 kB / 0.5982 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2209, allocations: 137.8 kB / 0.5984 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2209, allocations: 33.7 kB / 0.5984 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.221, allocations: 108.2 kB / 0.5985 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.221, allocations: 15.75 kB / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.221, allocations: 0 / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2212, allocations: 318.8 kB / 0.5988 GB, free: 172 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2215, allocations: 95.92 kB / 0.5989 GB, free: 76 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.2218, allocations: 110.5 kB / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.2221, allocations: 91.94 kB / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2221, allocations: 3.953 kB / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006856/0.2228, allocations: 237.4 kB / 0.5993 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2228, allocations: 4 kB / 0.5993 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2228, allocations: 160 / 0.5993 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.2229, allocations: 0 / 0.5993 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.2231, allocations: 52.2 kB / 0.5994 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2232, allocations: 3.984 kB / 0.5994 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.2234, allocations: 43.86 kB / 0.5994 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2234, allocations: 4 kB / 0.5994 GB, free: 15.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.623e-05/0.2235, allocations: 121.8 kB / 0.5995 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.2235, allocations: 11.86 kB / 0.5996 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007237/0.2243, allocations: 238.2 kB / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2243, allocations: 7.938 kB / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2243, allocations: 3.984 kB / 0.5998 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2243, allocations: 0 / 0.5998 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.2246, allocations: 242.3 kB / 0.6 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2246, allocations: 0 / 0.6 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.2248, allocations: 43.95 kB / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2249, allocations: 0 / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2249, allocations: 3.984 kB / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2249, allocations: 0 / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2249, allocations: 4 kB / 0.6001 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.2256, allocations: 319.3 kB / 0.6004 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.2257, allocations: 88.97 kB / 0.6005 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2257, allocations: 0 / 0.6005 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.226, allocations: 43.95 kB / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.2261, allocations: 11.92 kB / 0.6005 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2261, allocations: 11.98 kB / 0.6005 GB, free: 14.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.2262, allocations: 97.16 kB / 0.6006 GB, free: 14.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2262, allocations: 0 / 0.6006 GB, free: 14.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2264, allocations: 27.91 kB / 0.6006 GB, free: 14.18 MB / 462.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 (6): * Single equations (assignments): 6 * 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.000142/0.2266, allocations: 99.23 kB / 0.6007 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.2273, allocations: 203.8 kB / 0.6009 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2273, allocations: 0 / 0.6009 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.2276, allocations: 104 kB / 0.601 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.2278, allocations: 10.14 kB / 0.601 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.2285, allocations: 305.8 kB / 0.6013 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.2288, allocations: 0.7004 MB / 0.602 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.894e-05/0.2289, allocations: 20.16 kB / 0.602 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.2289, allocations: 11.44 kB / 0.602 GB, free: 12.67 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2289, allocations: 0 / 0.602 GB, free: 12.67 MB / 462.1 MB Notification: Performance of Templates: time 0.003397/0.2323, allocations: 1.311 MB / 0.6033 GB, free: 11.38 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: