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.5265/0.5288, allocations: 80.8 MB / 0.5904 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002374/0.5312, allocations: 0.554 MB / 0.591 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000299/0.5316, allocations: 51.53 kB / 0.591 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.5316, allocations: 1.156 kB / 0.591 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.5316, allocations: 1.875 kB / 0.591 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.5317, allocations: 0 / 0.591 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.5319, allocations: 12.19 kB / 0.591 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.425e-05/0.532, allocations: 10.47 kB / 0.591 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.5321, allocations: 2.125 kB / 0.591 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.5321, allocations: 0 / 0.591 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.482e-05/0.5321, allocations: 2.094 kB / 0.591 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.5321, allocations: 0 / 0.591 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.5323, allocations: 22.02 kB / 0.5911 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.5323, allocations: 3.156 kB / 0.5911 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.5323, allocations: 3.938 kB / 0.5911 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.5324, allocations: 22.2 kB / 0.5911 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5324, allocations: 1.406 kB / 0.5911 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5324, allocations: 0 / 0.5911 GB, free: 21.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.5324, allocations: 0.5938 kB / 0.5911 GB, free: 21.79 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.0002473/0.5327, allocations: 317.2 kB / 0.5914 GB, free: 21.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5327, allocations: 9.438 kB / 0.5914 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.533, allocations: 18.88 kB / 0.5914 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.5e-05/0.5331, allocations: 170.8 kB / 0.5916 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-06/0.5331, allocations: 1.875 kB / 0.5916 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.5331, allocations: 1.438 kB / 0.5916 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.5333, allocations: 37.81 kB / 0.5916 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5333, allocations: 1.219 kB / 0.5916 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5333, allocations: 0.6875 kB / 0.5916 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5333, allocations: 0 / 0.5916 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.5334, allocations: 11.36 kB / 0.5916 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.5335, allocations: 150 kB / 0.5918 GB, free: 20.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.35e-05/0.5336, allocations: 26.69 kB / 0.5918 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.5336, allocations: 7.578 kB / 0.5918 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5337, allocations: 1.312 kB / 0.5918 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.5337, allocations: 40.36 kB / 0.5918 GB, free: 20.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.5337, allocations: 1.312 kB / 0.5918 GB, free: 20.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002334/0.5339, allocations: 40.53 kB / 0.5919 GB, free: 20.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.534, allocations: 59.53 kB / 0.5919 GB, free: 20.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.834e-05/0.534, allocations: 89.86 kB / 0.592 GB, free: 20.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.534, allocations: 27.02 kB / 0.5921 GB, free: 20.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.224e-05/0.534, allocations: 80.14 kB / 0.5921 GB, free: 20.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.5341, allocations: 7.891 kB / 0.5921 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.5341, allocations: 16.38 kB / 0.5922 GB, free: 20.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.5342, allocations: 314.8 kB / 0.5925 GB, free: 20.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.5342, allocations: 8.188 kB / 0.5925 GB, free: 20.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.5343, allocations: 6.609 kB / 0.5925 GB, free: 20.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.5344, allocations: 19.59 kB / 0.5925 GB, free: 20.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5344, allocations: 0 / 0.5925 GB, free: 20.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001058/0.5345, allocations: 39.12 kB / 0.5925 GB, free: 20.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5345, allocations: 9.438 kB / 0.5925 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5345, allocations: 4.094 kB / 0.5925 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5345, allocations: 0 / 0.5925 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.5346, allocations: 7.922 kB / 0.5925 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.5346, allocations: 3.938 kB / 0.5925 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.5347, allocations: 5.312 kB / 0.5926 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5347, allocations: 1.344 kB / 0.5926 GB, free: 20.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.5347, allocations: 107.2 kB / 0.5927 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.5347, allocations: 3.938 kB / 0.5927 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.5348, allocations: 7.125 kB / 0.5927 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5348, allocations: 1.438 kB / 0.5927 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5348, allocations: 3.984 kB / 0.5927 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5348, allocations: 0 / 0.5927 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.066e-05/0.5348, allocations: 147 kB / 0.5928 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5348, allocations: 0 / 0.5928 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.5349, allocations: 11.92 kB / 0.5928 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5349, allocations: 3.938 kB / 0.5928 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.5349, allocations: 0 / 0.5928 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5349, allocations: 1.312 kB / 0.5928 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5349, allocations: 0 / 0.5928 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.535, allocations: 66.66 kB / 0.5929 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.5351, allocations: 82.36 kB / 0.593 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.5351, allocations: 3.984 kB / 0.593 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.5351, allocations: 6.656 kB / 0.593 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.5351, allocations: 0 / 0.593 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.5351, allocations: 1.406 kB / 0.593 GB, free: 19.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.26e-05/0.5352, allocations: 79.31 kB / 0.5931 GB, free: 19.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5352, allocations: 0 / 0.5931 GB, free: 19.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.5353, allocations: 1.438 kB / 0.5931 GB, free: 19.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.278e-05/0.5354, allocations: 94.06 kB / 0.5931 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.5356, allocations: 16.11 kB / 0.5932 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5356, allocations: 0 / 0.5932 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.5356, allocations: 12.02 kB / 0.5932 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.5358, allocations: 5.266 kB / 0.5932 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.536, allocations: 88.48 kB / 0.5933 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.5362, allocations: 0.6741 MB / 0.5939 GB, free: 18.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.5362, allocations: 9.438 kB / 0.5939 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.5362, allocations: 11.42 kB / 0.5939 GB, free: 18.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5362, allocations: 0 / 0.5939 GB, free: 18.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002071/0.5383, allocations: 228.6 kB / 0.5942 GB, free: 18.53 MB / 446.1 MB 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)