Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck")
translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck")
[/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.184/0.1847, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007653/0.1855, allocations: 294.8 kB / 0.5937 GB, free: 5.691 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005774/0.1861, allocations: 311.2 kB / 0.594 GB, free: 5.387 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.1861, allocations: 0 / 0.594 GB, free: 5.387 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1862, allocations: 0 / 0.594 GB, free: 5.387 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.958e-05/0.1862, allocations: 0 / 0.594 GB, free: 5.387 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.1866, allocations: 67.78 kB / 0.594 GB, free: 5.32 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.1866, allocations: 8 kB / 0.594 GB, free: 5.312 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1867, allocations: 7.938 kB / 0.594 GB, free: 5.305 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.1867, allocations: 3.984 kB / 0.594 GB, free: 5.301 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.1867, allocations: 4 kB / 0.5941 GB, free: 5.297 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1868, allocations: 0 / 0.5941 GB, free: 5.297 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.1871, allocations: 255.7 kB / 0.5943 GB, free: 5.047 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1871, allocations: 7.984 kB / 0.5943 GB, free: 5.039 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1871, allocations: 25.7 kB / 0.5943 GB, free: 5.008 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1873, allocations: 55.89 kB / 0.5944 GB, free: 4.953 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1873, allocations: 4 kB / 0.5944 GB, free: 4.949 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.1873, allocations: 3.938 kB / 0.5944 GB, free: 4.945 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.869e-06/0.1873, allocations: 4 kB / 0.5944 GB, free: 4.941 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: 2
* Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0003933/0.1877, allocations: 343.5 kB / 0.5947 GB, free: 4.559 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1877, allocations: 8.031 kB / 0.5947 GB, free: 4.551 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.1878, allocations: 7.938 kB / 0.5947 GB, free: 4.543 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.188, allocations: 159.1 kB / 0.5949 GB, free: 4.348 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.188, allocations: 0 / 0.5949 GB, free: 4.348 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.188, allocations: 0 / 0.5949 GB, free: 4.348 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1881, allocations: 37.64 kB / 0.5949 GB, free: 4.305 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1881, allocations: 4 kB / 0.5949 GB, free: 4.301 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1881, allocations: 8 kB / 0.5949 GB, free: 4.293 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1882, allocations: 0 / 0.5949 GB, free: 4.293 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.1882, allocations: 0 / 0.5949 GB, free: 4.293 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1884, allocations: 157.6 kB / 0.5951 GB, free: 4.09 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.1884, allocations: 22.55 kB / 0.5951 GB, free: 4.059 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.1891, allocations: 465.5 kB / 0.5955 GB, free: 3.512 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1891, allocations: 30.56 kB / 0.5956 GB, free: 3.473 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1891, allocations: 0 / 0.5956 GB, free: 3.473 MB / 446.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0004871/0.1896, allocations: 258.3 kB / 0.5958 GB, free: 3.168 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.1897, allocations: 51.41 kB / 0.5959 GB, free: 3.105 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.1897, allocations: 93.86 kB / 0.596 GB, free: 3.004 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1898, allocations: 29.7 kB / 0.596 GB, free: 2.969 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.1898, allocations: 80.14 kB / 0.5961 GB, free: 2.887 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1898, allocations: 7.906 kB / 0.5961 GB, free: 2.879 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1899, allocations: 352 / 0.5961 GB, free: 2.879 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001021/0.19, allocations: 322.8 kB / 0.5964 GB, free: 2.555 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.19, allocations: 4 kB / 0.5964 GB, free: 2.551 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.19, allocations: 13.72 kB / 0.5964 GB, free: 2.531 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.19, allocations: 11.94 kB / 0.5964 GB, free: 2.52 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.19, allocations: 0 / 0.5964 GB, free: 2.52 MB / 446.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.214e-05/0.1901, allocations: 49.69 kB / 0.5965 GB, free: 2.465 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1902, allocations: 16 kB / 0.5965 GB, free: 2.449 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1902, allocations: 0 / 0.5965 GB, free: 2.449 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1902, allocations: 3.953 kB / 0.5965 GB, free: 2.445 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.1902, allocations: 11.92 kB / 0.5965 GB, free: 2.434 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1903, allocations: 8 kB / 0.5965 GB, free: 2.426 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1903, allocations: 0 / 0.5965 GB, free: 2.426 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1903, allocations: 0 / 0.5965 GB, free: 2.426 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 2
* 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 (4):
* Single equations (assignments): 4
* 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 5.956e-05/0.1904, allocations: 113.8 kB / 0.5966 GB, free: 2.305 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.1904, allocations: 0 / 0.5966 GB, free: 2.305 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1905, allocations: 61.22 kB / 0.5967 GB, free: 2.234 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1905, allocations: 3.953 kB / 0.5967 GB, free: 2.23 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1905, allocations: 3.984 kB / 0.5967 GB, free: 2.227 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1905, allocations: 0 / 0.5967 GB, free: 2.227 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.328e-05/0.1906, allocations: 153.7 kB / 0.5968 GB, free: 2.027 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1906, allocations: 4 kB / 0.5968 GB, free: 2.023 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.1907, allocations: 7.938 kB / 0.5968 GB, free: 2.016 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1907, allocations: 0 / 0.5968 GB, free: 2.016 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1907, allocations: 0 / 0.5968 GB, free: 2.016 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1907, allocations: 4 kB / 0.5968 GB, free: 2.012 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1907, allocations: 7.891 kB / 0.5968 GB, free: 2.004 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1909, allocations: 77.16 kB / 0.5969 GB, free: 1.91 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.1909, allocations: 81.09 kB / 0.597 GB, free: 1.812 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.1909, allocations: 0 / 0.597 GB, free: 1.812 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.5e-05/0.191, allocations: 0 / 0.597 GB, free: 1.812 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.191, allocations: 4 kB / 0.597 GB, free: 1.809 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.191, allocations: 12.02 kB / 0.597 GB, free: 1.797 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 2.942e-05/0.191, allocations: 75.28 kB / 0.5971 GB, free: 1.723 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1911, allocations: 0 / 0.5971 GB, free: 1.723 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0001991/0.1913, allocations: 27.98 kB / 0.5971 GB, free: 1.695 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 1
* Number of states: 1 (y)
* 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 (3):
* Single equations (assignments): 3
* 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.0001821/0.1914, allocations: 123.2 kB / 0.5972 GB, free: 1.566 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 8.135e-05/0.1915, allocations: 19.98 kB / 0.5972 GB, free: 1.547 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1916, allocations: 0 / 0.5972 GB, free: 1.547 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.1916, allocations: 12.22 kB / 0.5973 GB, free: 1.535 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.1917, allocations: 2.844 kB / 0.5973 GB, free: 1.535 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.1919, allocations: 120.5 kB / 0.5974 GB, free: 1.391 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1922, allocations: 0.677 MB / 0.598 GB, free: 0.6875 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 2.913e-05/0.1922, allocations: 4 kB / 0.598 GB, free: 0.6836 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.1922, allocations: 11.44 kB / 0.598 GB, free: 0.6719 MB / 446.1 MB
Notification: Performance of SimCode: time 2.3e-07/0.1922, allocations: 4 kB / 0.5981 GB, free: 0.668 MB / 446.1 MB
Notification: Performance of Templates: time 0.002911/0.1952, allocations: 0.8475 MB / 0.5989 GB, free: 15.85 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)
Environment - environmentSimulation: