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.1693/0.1701, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007489/0.1709, allocations: 282.8 kB / 0.5936 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.1711, allocations: 47.83 kB / 0.5937 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.1711, allocations: 0 / 0.5937 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.1711, allocations: 0 / 0.5937 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.1712, allocations: 0 / 0.5937 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1714, allocations: 15.92 kB / 0.5937 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.06e-05/0.1714, allocations: 0 / 0.5937 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.1715, allocations: 7.984 kB / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.1715, allocations: 0 / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.1715, allocations: 0 / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1716, allocations: 4 kB / 0.5937 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.1717, allocations: 15.98 kB / 0.5937 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.1717, allocations: 0 / 0.5937 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1717, allocations: 29.7 kB / 0.5938 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.1718, allocations: 15.97 kB / 0.5938 GB, free: 5.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1718, allocations: 3.938 kB / 0.5938 GB, free: 5.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1718, allocations: 4 kB / 0.5938 GB, free: 5.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1718, allocations: 0 / 0.5938 GB, free: 5.562 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000316/0.1721, allocations: 314.5 kB / 0.5941 GB, free: 5.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1722, allocations: 8.094 kB / 0.5941 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.1725, allocations: 19.97 kB / 0.5941 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1726, allocations: 159.4 kB / 0.5943 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1726, allocations: 0 / 0.5943 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1726, allocations: 0 / 0.5943 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1728, allocations: 41.64 kB / 0.5943 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1728, allocations: 0 / 0.5943 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1728, allocations: 4 kB / 0.5943 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1728, allocations: 0 / 0.5943 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.1729, allocations: 11.98 kB / 0.5943 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1731, allocations: 145.7 kB / 0.5945 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.1732, allocations: 22.55 kB / 0.5945 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1732, allocations: 4 kB / 0.5945 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1732, allocations: 30.56 kB / 0.5945 GB, free: 4.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1732, allocations: 0 / 0.5945 GB, free: 4.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002457/0.1735, allocations: 53.69 kB / 0.5946 GB, free: 4.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1735, allocations: 59.28 kB / 0.5946 GB, free: 4.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.1736, allocations: 89.86 kB / 0.5947 GB, free: 4.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1736, allocations: 29.77 kB / 0.5947 GB, free: 4.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1736, allocations: 88.14 kB / 0.5948 GB, free: 4.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1737, allocations: 7.844 kB / 0.5948 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1737, allocations: 0 / 0.5948 GB, free: 4.301 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1738, allocations: 310.8 kB / 0.5951 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.1739, allocations: 7.984 kB / 0.5951 GB, free: 3.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.1739, allocations: 4 kB / 0.5951 GB, free: 3.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.174, allocations: 8.047 kB / 0.5951 GB, free: 3.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.174, allocations: 4 kB / 0.5951 GB, free: 3.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001114/0.1741, allocations: 41.69 kB / 0.5952 GB, free: 3.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1741, allocations: 4 kB / 0.5952 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1741, allocations: 0 / 0.5952 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1741, allocations: 0 / 0.5952 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.1742, allocations: 11.94 kB / 0.5952 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1742, allocations: 3.938 kB / 0.5952 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.1743, allocations: 0 / 0.5952 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1743, allocations: 8.031 kB / 0.5952 GB, free: 3.891 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 (1): * Single equations (assignments): 1 * 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 7.644e-05/0.1744, allocations: 105.8 kB / 0.5953 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.1744, allocations: 0 / 0.5953 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.1744, allocations: 7.109 kB / 0.5953 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1744, allocations: 3.984 kB / 0.5953 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1744, allocations: 3.953 kB / 0.5953 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1744, allocations: 4 kB / 0.5953 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1745, allocations: 149.7 kB / 0.5955 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1745, allocations: 0 / 0.5955 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1746, allocations: 11.98 kB / 0.5955 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1746, allocations: 0 / 0.5955 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.1746, allocations: 0 / 0.5955 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1746, allocations: 0 / 0.5955 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1746, allocations: 0 / 0.5955 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1748, allocations: 69.08 kB / 0.5955 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.1748, allocations: 85.12 kB / 0.5956 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1748, allocations: 3.938 kB / 0.5956 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.1749, allocations: 0 / 0.5956 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.1749, allocations: 0 / 0.5956 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1749, allocations: 4 kB / 0.5956 GB, free: 3.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.578e-05/0.1749, allocations: 79.22 kB / 0.5957 GB, free: 3.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 0 / 0.5957 GB, free: 3.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001695/0.1751, allocations: 3.953 kB / 0.5957 GB, free: 3.273 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 (1): * Single equations (assignments): 1 * 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.0001188/0.1752, allocations: 103.2 kB / 0.5958 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1754, allocations: 15.92 kB / 0.5958 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1754, allocations: 0 / 0.5958 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.1754, allocations: 7.984 kB / 0.5958 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.269e-05/0.1755, allocations: 0 / 0.5958 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.1758, allocations: 82.08 kB / 0.5959 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1761, allocations: 0.6848 MB / 0.5966 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.1761, allocations: 0 / 0.5966 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.1761, allocations: 7.438 kB / 0.5966 GB, free: 2.316 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1761, allocations: 0 / 0.5966 GB, free: 2.316 MB / 446.1 MB Notification: Performance of Templates: time 0.002059/0.1782, allocations: 207.9 kB / 0.5968 GB, free: 2.113 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: