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.1957/0.1977, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003154/0.2009, allocations: 1.805 MB / 0.5914 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2022, allocations: 0.6866 MB / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.2022, allocations: 4 kB / 0.5921 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.566e-05/0.2023, allocations: 3.938 kB / 0.5921 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.2024, allocations: 19.84 kB / 0.5921 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.2029, allocations: 143.4 kB / 0.5923 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2031, allocations: 119.7 kB / 0.5924 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2033, allocations: 49.36 kB / 0.5924 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2034, allocations: 55.78 kB / 0.5925 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2035, allocations: 47.77 kB / 0.5925 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2036, allocations: 12 kB / 0.5925 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2037, allocations: 39.97 kB / 0.5926 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.2038, allocations: 27.89 kB / 0.5926 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.2038, allocations: 55.72 kB / 0.5927 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.2041, allocations: 131.6 kB / 0.5928 GB, free: 3.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.2041, allocations: 11.92 kB / 0.5928 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2041, allocations: 3.938 kB / 0.5928 GB, free: 3.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2041, allocations: 0 / 0.5928 GB, free: 3.895 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.0006987/0.2048, allocations: 430.5 kB / 0.5932 GB, free: 3.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2049, allocations: 12.03 kB / 0.5932 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008365/0.2057, allocations: 112.6 kB / 0.5933 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2058, allocations: 184.1 kB / 0.5935 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/0.2059, allocations: 63.97 kB / 0.5936 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.206, allocations: 11.94 kB / 0.5936 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.2065, allocations: 175.5 kB / 0.5937 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2065, allocations: 0 / 0.5937 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.2065, allocations: 0 / 0.5937 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2065, allocations: 4 kB / 0.5937 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.2071, allocations: 163.7 kB / 0.5939 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2082, allocations: 0.4933 MB / 0.5944 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009919/0.2093, allocations: 218.3 kB / 0.5946 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.2096, allocations: 84.89 kB / 0.5947 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.2096, allocations: 7.922 kB / 0.5947 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2096, allocations: 42.5 kB / 0.5947 GB, free: 1.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.2096, allocations: 4 kB / 0.5947 GB, free: 1.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009715/0.2106, allocations: 261.5 kB / 0.595 GB, free: 1.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2107, allocations: 51.41 kB / 0.595 GB, free: 1.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2108, allocations: 133.8 kB / 0.5952 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2109, allocations: 33.7 kB / 0.5952 GB, free: 1.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.211, allocations: 100.3 kB / 0.5953 GB, free: 1.141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.211, allocations: 27.64 kB / 0.5953 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.2111, allocations: 21.7 kB / 0.5953 GB, free: 1.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2112, allocations: 322.8 kB / 0.5956 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.2115, allocations: 79.84 kB / 0.5957 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.2118, allocations: 90.5 kB / 0.5958 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.2123, allocations: 166.4 kB / 0.596 GB, free: 424 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2123, allocations: 4 kB / 0.596 GB, free: 420 kB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006153/0.213, allocations: 201.4 kB / 0.5962 GB, free: 212 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.213, allocations: 7.938 kB / 0.5962 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.213, allocations: 3.984 kB / 0.5962 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2131, allocations: 4 kB / 0.5962 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.2133, allocations: 39.95 kB / 0.5962 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2133, allocations: 4 kB / 0.5962 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.2135, allocations: 23.97 kB / 0.5962 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2135, allocations: 0 / 0.5962 GB, free: 128 kB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.2137, allocations: 125.9 kB / 0.5964 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2137, allocations: 11.69 kB / 0.5964 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.2144, allocations: 206.1 kB / 0.5966 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2144, allocations: 0 / 0.5966 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2144, allocations: 0 / 0.5966 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2144, allocations: 3.938 kB / 0.5966 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.2146, allocations: 234.8 kB / 0.5968 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2147, allocations: 0 / 0.5968 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2149, allocations: 35.95 kB / 0.5968 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2149, allocations: 3.938 kB / 0.5968 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2149, allocations: 4 kB / 0.5968 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2149, allocations: 0 / 0.5968 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2149, allocations: 0 / 0.5968 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.2156, allocations: 283.3 kB / 0.5971 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.2156, allocations: 84.95 kB / 0.5972 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2156, allocations: 8 kB / 0.5972 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.2159, allocations: 31.95 kB / 0.5972 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.216, allocations: 3.984 kB / 0.5972 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.216, allocations: 7.984 kB / 0.5972 GB, free: 15.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.151e-05/0.2161, allocations: 117.7 kB / 0.5973 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2161, allocations: 0 / 0.5973 GB, free: 14.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000257/0.2163, allocations: 24 kB / 0.5974 GB, free: 14.87 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 (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.0001186/0.2165, allocations: 107.1 kB / 0.5975 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.2171, allocations: 159.8 kB / 0.5976 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2171, allocations: 0 / 0.5976 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.2174, allocations: 87.84 kB / 0.5977 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2177, allocations: 8.125 kB / 0.5977 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.2184, allocations: 297.1 kB / 0.598 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2187, allocations: 0.7004 MB / 0.5987 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.2188, allocations: 12 kB / 0.5987 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.2189, allocations: 15.42 kB / 0.5987 GB, free: 13.44 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2189, allocations: 0 / 0.5987 GB, free: 13.44 MB / 462.1 MB Notification: Performance of Templates: time 0.003721/0.2226, allocations: 1.372 MB / 0.6 GB, free: 12.08 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (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)