Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [/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.1861/0.1882, allocations: 80.84 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001815/0.19, allocations: 0.5432 MB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006759/0.1907, allocations: 315.2 kB / 0.6715 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1908, allocations: 4 kB / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.1908, allocations: 0 / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.205e-05/0.1908, allocations: 0 / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1913, allocations: 119.5 kB / 0.6716 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.1913, allocations: 3.984 kB / 0.6716 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1914, allocations: 3.984 kB / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.1914, allocations: 0 / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.654e-05/0.1914, allocations: 4 kB / 0.6716 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1914, allocations: 0 / 0.6716 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.1918, allocations: 267.7 kB / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.1919, allocations: 0 / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.1919, allocations: 4 kB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1921, allocations: 87.78 kB / 0.672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1921, allocations: 0 / 0.672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1921, allocations: 4 kB / 0.672 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1921, allocations: 4 kB / 0.672 GB, free: 0.6523 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.0003486/0.1925, allocations: 331.3 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1925, allocations: 8.031 kB / 0.6723 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1925, allocations: 4.875 kB / 0.6723 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.1926, allocations: 160.4 kB / 0.6724 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1927, allocations: 4.375 kB / 0.6724 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1927, allocations: 4.375 kB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.1928, allocations: 37.56 kB / 0.6725 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1928, allocations: 7.938 kB / 0.6725 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1928, allocations: 0 / 0.6725 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1928, allocations: 0 / 0.6725 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.1928, allocations: 4 kB / 0.6725 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.193, allocations: 141.7 kB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.193, allocations: 18.58 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.1931, allocations: 8.953 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/0.1936, allocations: 433.4 kB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1936, allocations: 38.5 kB / 0.6731 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.1936, allocations: 0 / 0.6731 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.1937, allocations: 29.7 kB / 0.6731 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1938, allocations: 51.41 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.986e-05/0.1938, allocations: 93.98 kB / 0.6733 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1939, allocations: 29.7 kB / 0.6733 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.1939, allocations: 80.14 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1939, allocations: 3.953 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.194, allocations: 13.72 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1941, allocations: 314.8 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.1941, allocations: 4 kB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.1941, allocations: 0 / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.1942, allocations: 16.86 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1942, allocations: 0 / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.459e-05/0.1942, allocations: 33.64 kB / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1943, allocations: 8.781 kB / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1943, allocations: 0 / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1943, allocations: 0 / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.1943, allocations: 0 / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1943, allocations: 3.984 kB / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.1944, allocations: 0 / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.1944, allocations: 11.97 kB / 0.6738 GB, free: 14.48 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 8.135e-05/0.1945, allocations: 113.8 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.1945, allocations: 3.938 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-05/0.1946, allocations: 36.77 kB / 0.6739 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1946, allocations: 0 / 0.6739 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1946, allocations: 7.984 kB / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1946, allocations: 0 / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.1947, allocations: 141.7 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1947, allocations: 4.031 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.1947, allocations: 11.94 kB / 0.6741 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1947, allocations: 0 / 0.6741 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.1947, allocations: 0 / 0.6741 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1947, allocations: 4 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1947, allocations: 3.938 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.1948, allocations: 61.06 kB / 0.6741 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.1949, allocations: 85.08 kB / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.1949, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-06/0.1949, allocations: 3.984 kB / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.1949, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1949, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.514e-05/0.195, allocations: 79.28 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.195, allocations: 4 kB / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001898/0.1952, allocations: 15.92 kB / 0.6743 GB, free: 13.81 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.0001617/0.1953, allocations: 107.2 kB / 0.6744 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.1954, allocations: 4 kB / 0.6744 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1954, allocations: 0 / 0.6744 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.1954, allocations: 0 / 0.6744 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1956, allocations: 11.92 kB / 0.6744 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001611/0.1957, allocations: 76.88 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.196, allocations: 0.6729 MB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.196, allocations: 8.109 kB / 0.6752 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.109e-05/0.196, allocations: 7.438 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.196, allocations: 0 / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.002409/0.1985, allocations: 448.3 kB / 0.6756 GB, free: 12.42 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)