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.1849/0.1856, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008883/0.1866, allocations: 282.8 kB / 0.5936 GB, free: 5.711 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006922/0.1873, allocations: 295.3 kB / 0.5939 GB, free: 5.422 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.1874, allocations: 0 / 0.5939 GB, free: 5.422 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1874, allocations: 3.938 kB / 0.5939 GB, free: 5.418 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.075e-05/0.1874, allocations: 0 / 0.5939 GB, free: 5.418 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1879, allocations: 63.8 kB / 0.594 GB, free: 5.355 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 4.057e-05/0.1879, allocations: 3.938 kB / 0.594 GB, free: 5.352 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.188, allocations: 4 kB / 0.594 GB, free: 5.348 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.188, allocations: 4 kB / 0.594 GB, free: 5.344 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.188, allocations: 7.984 kB / 0.594 GB, free: 5.336 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.188, allocations: 0 / 0.594 GB, free: 5.336 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1885, allocations: 255.7 kB / 0.5943 GB, free: 5.086 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.1885, allocations: 0 / 0.5943 GB, free: 5.086 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.1885, allocations: 25.7 kB / 0.5943 GB, free: 5.055 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1887, allocations: 55.91 kB / 0.5943 GB, free: 5 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1887, allocations: 0 / 0.5943 GB, free: 5 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.322e-06/0.1887, allocations: 0 / 0.5943 GB, free: 5 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.167e-06/0.1887, allocations: 0 / 0.5943 GB, free: 5 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.0003458/0.189, allocations: 330.5 kB / 0.5946 GB, free: 4.633 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1891, allocations: 12.03 kB / 0.5947 GB, free: 4.621 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.1892, allocations: 0 / 0.5947 GB, free: 4.621 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1893, allocations: 159.1 kB / 0.5948 GB, free: 4.426 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1893, allocations: 0 / 0.5948 GB, free: 4.426 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1894, allocations: 0 / 0.5948 GB, free: 4.426 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1895, allocations: 45.53 kB / 0.5949 GB, free: 4.375 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1895, allocations: 0 / 0.5949 GB, free: 4.375 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1896, allocations: 3.984 kB / 0.5949 GB, free: 4.371 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1896, allocations: 0 / 0.5949 GB, free: 4.371 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.1896, allocations: 4 kB / 0.5949 GB, free: 4.367 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.1899, allocations: 149.7 kB / 0.595 GB, free: 4.172 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.824e-05/0.19, allocations: 14.58 kB / 0.595 GB, free: 4.148 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.1906, allocations: 425.6 kB / 0.5954 GB, free: 3.641 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.1907, allocations: 38.5 kB / 0.5955 GB, free: 3.594 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1907, allocations: 0 / 0.5955 GB, free: 3.594 MB / 446.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000203/0.1909, allocations: 45.64 kB / 0.5955 GB, free: 3.543 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1909, allocations: 51.41 kB / 0.5956 GB, free: 3.48 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.191, allocations: 89.86 kB / 0.5956 GB, free: 3.383 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.191, allocations: 25.7 kB / 0.5957 GB, free: 3.352 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.1911, allocations: 80.14 kB / 0.5957 GB, free: 3.27 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1911, allocations: 8.125 kB / 0.5957 GB, free: 3.262 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.1911, allocations: 128 / 0.5957 GB, free: 3.262 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001353/0.1913, allocations: 318.8 kB / 0.5961 GB, free: 2.941 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.1913, allocations: 0 / 0.5961 GB, free: 2.941 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.1913, allocations: 0 / 0.5961 GB, free: 2.941 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.1913, allocations: 0 / 0.5961 GB, free: 2.941 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1913, allocations: 11.88 kB / 0.5961 GB, free: 2.93 MB / 446.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.1915, allocations: 37.69 kB / 0.5961 GB, free: 2.887 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1915, allocations: 4 kB / 0.5961 GB, free: 2.883 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1915, allocations: 0 / 0.5961 GB, free: 2.883 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1915, allocations: 4.094 kB / 0.5961 GB, free: 2.879 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.1916, allocations: 7.953 kB / 0.5961 GB, free: 2.871 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1916, allocations: 0 / 0.5961 GB, free: 2.871 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.1916, allocations: 0 / 0.5961 GB, free: 2.871 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1916, allocations: 0 / 0.5961 GB, free: 2.871 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 8.362e-05/0.1917, allocations: 113.8 kB / 0.5962 GB, free: 2.75 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.1918, allocations: 0 / 0.5962 GB, free: 2.75 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.734e-05/0.1919, allocations: 40.75 kB / 0.5963 GB, free: 2.703 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1919, allocations: 4.031 kB / 0.5963 GB, free: 2.699 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1919, allocations: 7.891 kB / 0.5963 GB, free: 2.691 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1919, allocations: 0 / 0.5963 GB, free: 2.691 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.192, allocations: 149.7 kB / 0.5964 GB, free: 2.496 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.192, allocations: 3.984 kB / 0.5964 GB, free: 2.492 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.192, allocations: 0 / 0.5964 GB, free: 2.492 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1921, allocations: 0 / 0.5964 GB, free: 2.492 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1921, allocations: 3.984 kB / 0.5964 GB, free: 2.488 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1921, allocations: 4 kB / 0.5964 GB, free: 2.484 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1921, allocations: 0 / 0.5964 GB, free: 2.484 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1922, allocations: 61.09 kB / 0.5965 GB, free: 2.406 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.1923, allocations: 81.09 kB / 0.5966 GB, free: 2.309 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1923, allocations: 4 kB / 0.5966 GB, free: 2.305 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.1923, allocations: 7.938 kB / 0.5966 GB, free: 2.297 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1923, allocations: 0 / 0.5966 GB, free: 2.297 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1923, allocations: 0 / 0.5966 GB, free: 2.297 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 3.167e-05/0.1924, allocations: 75.28 kB / 0.5966 GB, free: 2.223 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1924, allocations: 32 / 0.5966 GB, free: 2.223 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0003254/0.1927, allocations: 19.95 kB / 0.5967 GB, free: 2.203 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.0002187/0.1929, allocations: 111.2 kB / 0.5968 GB, free: 2.086 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 6.672e-05/0.193, allocations: 0 / 0.5968 GB, free: 2.086 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.193, allocations: 0 / 0.5968 GB, free: 2.086 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.193, allocations: 4 kB / 0.5968 GB, free: 2.082 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.685e-05/0.1931, allocations: 0 / 0.5968 GB, free: 2.082 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.1933, allocations: 79.14 kB / 0.5969 GB, free: 1.977 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1936, allocations: 0.677 MB / 0.5975 GB, free: 1.273 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 1.858e-05/0.1936, allocations: 3.938 kB / 0.5975 GB, free: 1.27 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.1936, allocations: 11.44 kB / 0.5975 GB, free: 1.258 MB / 446.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.1937, allocations: 0 / 0.5975 GB, free: 1.258 MB / 446.1 MB
Notification: Performance of Templates: time 0.002268/0.1959, allocations: 437.8 kB / 0.5979 GB, free: 0.8398 MB / 446.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile
Environment - environmentSimulation:
(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)
Environment - environmentSimulation: