Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") [/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.1911/0.1945, allocations: 80.84 MB / 0.5899 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003245/0.1979, allocations: 1.476 MB / 0.5913 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003405/0.1982, allocations: 119.5 kB / 0.5914 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.1983, allocations: 4 kB / 0.5914 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.1983, allocations: 0 / 0.5914 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.1984, allocations: 7.938 kB / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1987, allocations: 15.98 kB / 0.5915 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.532e-05/0.1988, allocations: 27.91 kB / 0.5915 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1989, allocations: 4 kB / 0.5915 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.199, allocations: 11.98 kB / 0.5915 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.199, allocations: 11.92 kB / 0.5915 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.1991, allocations: 4 kB / 0.5915 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1992, allocations: 27.98 kB / 0.5915 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1992, allocations: 4 kB / 0.5915 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1992, allocations: 15.92 kB / 0.5916 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1994, allocations: 43.88 kB / 0.5916 GB, free: 5.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1994, allocations: 0 / 0.5916 GB, free: 5.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1994, allocations: 0 / 0.5916 GB, free: 5.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1994, allocations: 0 / 0.5916 GB, free: 5.172 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.0005613/0.2, allocations: 339.7 kB / 0.5919 GB, free: 4.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.2001, allocations: 12.03 kB / 0.5919 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.2001, allocations: 8.844 kB / 0.5919 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.2003, allocations: 172.3 kB / 0.5921 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2003, allocations: 384 / 0.5921 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.2003, allocations: 384 / 0.5921 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.2005, allocations: 53.8 kB / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2005, allocations: 0 / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2006, allocations: 0 / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2006, allocations: 0 / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2007, allocations: 39.95 kB / 0.5922 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.2011, allocations: 252.8 kB / 0.5924 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2012, allocations: 42.53 kB / 0.5925 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.2013, allocations: 20.91 kB / 0.5925 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/0.2018, allocations: 210.1 kB / 0.5927 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2018, allocations: 30.56 kB / 0.5927 GB, free: 3.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2018, allocations: 0 / 0.5927 GB, free: 3.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.2021, allocations: 77.73 kB / 0.5928 GB, free: 3.734 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.2022, allocations: 63.38 kB / 0.5929 GB, free: 3.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.2023, allocations: 93.86 kB / 0.593 GB, free: 3.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2023, allocations: 33.69 kB / 0.593 GB, free: 3.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2023, allocations: 91.98 kB / 0.5931 GB, free: 3.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2024, allocations: 3.938 kB / 0.5931 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2024, allocations: 17.72 kB / 0.5931 GB, free: 3.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2025, allocations: 314.8 kB / 0.5934 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.2026, allocations: 19.97 kB / 0.5934 GB, free: 3.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.2027, allocations: 19.98 kB / 0.5934 GB, free: 3.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2028, allocations: 32.83 kB / 0.5935 GB, free: 3.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2028, allocations: 0 / 0.5935 GB, free: 3.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.203, allocations: 77.56 kB / 0.5935 GB, free: 2.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.2031, allocations: 9.875 kB / 0.5935 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2031, allocations: 0 / 0.5935 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2031, allocations: 0 / 0.5935 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.2032, allocations: 7.984 kB / 0.5936 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2032, allocations: 0 / 0.5936 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.2033, allocations: 8 kB / 0.5936 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2033, allocations: 4 kB / 0.5936 GB, free: 2.898 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.056e-05/0.2034, allocations: 118.7 kB / 0.5937 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.2034, allocations: 0 / 0.5937 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.2036, allocations: 72.78 kB / 0.5937 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2036, allocations: 0 / 0.5937 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2036, allocations: 0 / 0.5937 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2036, allocations: 0 / 0.5937 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2038, allocations: 169.6 kB / 0.5939 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2038, allocations: 4.188 kB / 0.5939 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.2039, allocations: 8.031 kB / 0.5939 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2039, allocations: 7.938 kB / 0.5939 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2039, allocations: 3.984 kB / 0.5939 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2039, allocations: 4 kB / 0.5939 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2039, allocations: 3.984 kB / 0.5939 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2041, allocations: 163.5 kB / 0.5941 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2042, allocations: 85.05 kB / 0.5942 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2042, allocations: 0 / 0.5942 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.2043, allocations: 4 kB / 0.5942 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2044, allocations: 3.984 kB / 0.5942 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2044, allocations: 4 kB / 0.5942 GB, free: 2.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.867e-05/0.2044, allocations: 83.28 kB / 0.5943 GB, free: 2.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2044, allocations: 0 / 0.5943 GB, free: 2.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.2046, allocations: 8 kB / 0.5943 GB, free: 2.074 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.0001667/0.2048, allocations: 111.2 kB / 0.5944 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.205, allocations: 31.97 kB / 0.5944 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.205, allocations: 4 kB / 0.5944 GB, free: 1.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.2051, allocations: 19.97 kB / 0.5944 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2054, allocations: 11.88 kB / 0.5944 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.2057, allocations: 114.3 kB / 0.5946 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.206, allocations: 0.6729 MB / 0.5952 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.722e-05/0.206, allocations: 11.92 kB / 0.5952 GB, free: 1.043 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.2061, allocations: 7.438 kB / 0.5952 GB, free: 1.035 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2061, allocations: 0 / 0.5952 GB, free: 1.035 MB / 446.1 MB Notification: Performance of Templates: time 0.002878/0.209, allocations: 0.5773 MB / 0.5958 GB, free: 472 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)