Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") [/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.1925/0.1949, allocations: 80.84 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00187/0.1968, allocations: 0.5431 MB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003008/0.1971, allocations: 51.78 kB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.1971, allocations: 0 / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1972, allocations: 0 / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.1972, allocations: 0 / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1974, allocations: 15.92 kB / 0.6712 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.1975, allocations: 8 kB / 0.6713 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.1976, allocations: 0 / 0.6713 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.1976, allocations: 7.922 kB / 0.6713 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.498e-05/0.1976, allocations: 0 / 0.6713 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1976, allocations: 4 kB / 0.6713 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1978, allocations: 19.97 kB / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.1978, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1978, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.687e-05/0.1979, allocations: 23.97 kB / 0.6713 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1979, allocations: 0 / 0.6713 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1979, allocations: 0 / 0.6713 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1979, allocations: 4 kB / 0.6713 GB, free: 1.32 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000328/0.1983, allocations: 315.5 kB / 0.6716 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1983, allocations: 8.031 kB / 0.6716 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.1986, allocations: 20.91 kB / 0.6716 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.1987, allocations: 160.4 kB / 0.6718 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1987, allocations: 384 / 0.6718 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1987, allocations: 384 / 0.6718 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1989, allocations: 49.56 kB / 0.6718 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1989, allocations: 0 / 0.6718 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.199, allocations: 4 kB / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.199, allocations: 0 / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.1991, allocations: 15.92 kB / 0.6719 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.1992, allocations: 145.7 kB / 0.672 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.1993, allocations: 26.89 kB / 0.672 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.1994, allocations: 16.91 kB / 0.672 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1994, allocations: 7.922 kB / 0.672 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1994, allocations: 34.5 kB / 0.6721 GB, free: 380 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1994, allocations: 0 / 0.6721 GB, free: 380 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002369/0.1997, allocations: 45.67 kB / 0.6721 GB, free: 328 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1997, allocations: 55.53 kB / 0.6722 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.1998, allocations: 89.86 kB / 0.6723 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1998, allocations: 25.7 kB / 0.6723 GB, free: 128 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.1998, allocations: 80.14 kB / 0.6724 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1999, allocations: 4 kB / 0.6724 GB, free: 40 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1999, allocations: 13.72 kB / 0.6724 GB, free: 20 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2, allocations: 314.8 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.2001, allocations: 7.984 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.2002, allocations: 8 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.2003, allocations: 20.78 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2003, allocations: 0 / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.2004, allocations: 45.62 kB / 0.6728 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2004, allocations: 7.984 kB / 0.6728 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2004, allocations: 0 / 0.6728 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2004, allocations: 4.094 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.2005, allocations: 4 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2005, allocations: 0 / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.2006, allocations: 4 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2006, allocations: 0 / 0.6728 GB, free: 15.59 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 (1): * Single equations (assignments): 1 * 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.495e-05/0.2007, allocations: 109.8 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.2007, allocations: 3.938 kB / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.2007, allocations: 3.125 kB / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2007, allocations: 8 kB / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2007, allocations: 0 / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2007, allocations: 3.938 kB / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2008, allocations: 149.6 kB / 0.673 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2008, allocations: 0 / 0.673 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.2009, allocations: 7.938 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2009, allocations: 0 / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2009, allocations: 0 / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2009, allocations: 3.938 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2009, allocations: 0 / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.2011, allocations: 77.09 kB / 0.6731 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.2011, allocations: 81.05 kB / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.2011, allocations: 3.938 kB / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.2012, allocations: 8 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.2012, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2012, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.2012, allocations: 79.31 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2012, allocations: 0 / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001676/0.2014, allocations: 0 / 0.6733 GB, free: 14.96 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 (1): * Single equations (assignments): 1 * 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.000136/0.2016, allocations: 111.2 kB / 0.6734 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.2017, allocations: 11.98 kB / 0.6734 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2017, allocations: 0 / 0.6734 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.2018, allocations: 8.062 kB / 0.6734 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2019, allocations: 4 kB / 0.6734 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.2022, allocations: 92.86 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2024, allocations: 0.6729 MB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.2025, allocations: 64 / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.2025, allocations: 15.44 kB / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2025, allocations: 0 / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.002181/0.2047, allocations: 236.5 kB / 0.6744 GB, free: 13.76 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)