Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck")
translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck")
[/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.1951/0.1959, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008211/0.1967, allocations: 304.9 kB / 0.5944 GB, free: 5.254 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004682/0.1972, allocations: 151.6 kB / 0.5946 GB, free: 5.105 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.1973, allocations: 7.938 kB / 0.5946 GB, free: 5.098 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1973, allocations: 0 / 0.5946 GB, free: 5.098 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.274e-05/0.1973, allocations: 0 / 0.5946 GB, free: 5.098 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.1977, allocations: 31.91 kB / 0.5946 GB, free: 5.066 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.1978, allocations: 15.98 kB / 0.5946 GB, free: 5.051 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1978, allocations: 4 kB / 0.5946 GB, free: 5.047 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.1979, allocations: 4 kB / 0.5946 GB, free: 5.043 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.1979, allocations: 15.92 kB / 0.5946 GB, free: 5.027 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.198, allocations: 0 / 0.5946 GB, free: 5.027 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.1981, allocations: 35.95 kB / 0.5947 GB, free: 4.992 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1981, allocations: 0 / 0.5947 GB, free: 4.992 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.1982, allocations: 41.62 kB / 0.5947 GB, free: 4.945 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1983, allocations: 23.95 kB / 0.5947 GB, free: 4.922 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1983, allocations: 0 / 0.5947 GB, free: 4.922 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.823e-06/0.1983, allocations: 0 / 0.5947 GB, free: 4.922 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 6.332e-06/0.1983, allocations: 0 / 0.5947 GB, free: 4.922 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: 5
* Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004452/0.1988, allocations: 335.7 kB / 0.5951 GB, free: 4.547 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1988, allocations: 8.031 kB / 0.5951 GB, free: 4.539 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1989, allocations: 4.938 kB / 0.5951 GB, free: 4.535 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.199, allocations: 164.4 kB / 0.5952 GB, free: 4.336 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.199, allocations: 4.375 kB / 0.5952 GB, free: 4.332 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1991, allocations: 8.359 kB / 0.5952 GB, free: 4.324 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1992, allocations: 57.69 kB / 0.5953 GB, free: 4.262 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1992, allocations: 0 / 0.5953 GB, free: 4.262 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1993, allocations: 4 kB / 0.5953 GB, free: 4.258 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1993, allocations: 0 / 0.5953 GB, free: 4.258 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.405e-05/0.1993, allocations: 15.98 kB / 0.5953 GB, free: 4.242 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1996, allocations: 157.7 kB / 0.5955 GB, free: 4.039 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1997, allocations: 46.56 kB / 0.5955 GB, free: 3.984 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.1997, allocations: 16.98 kB / 0.5955 GB, free: 3.965 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.1999, allocations: 81.11 kB / 0.5956 GB, free: 3.867 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1999, allocations: 50.42 kB / 0.5956 GB, free: 3.809 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1999, allocations: 0 / 0.5956 GB, free: 3.809 MB / 446.1 MB
Notification: Performance of matching and sorting (n=7): time 0.001412/0.2013, allocations: 472.6 kB / 0.5961 GB, free: 3.273 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2014, allocations: 55.41 kB / 0.5961 GB, free: 3.207 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.2015, allocations: 93.86 kB / 0.5962 GB, free: 3.105 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2015, allocations: 29.64 kB / 0.5963 GB, free: 3.07 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.2015, allocations: 84.27 kB / 0.5963 GB, free: 2.984 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.2016, allocations: 31.55 kB / 0.5964 GB, free: 2.953 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.2016, allocations: 17.72 kB / 0.5964 GB, free: 2.93 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001168/0.2018, allocations: 310.8 kB / 0.5967 GB, free: 2.617 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.2018, allocations: 19.92 kB / 0.5967 GB, free: 2.598 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.2018, allocations: 12 kB / 0.5967 GB, free: 2.586 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.2019, allocations: 32.84 kB / 0.5967 GB, free: 2.551 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2019, allocations: 0 / 0.5967 GB, free: 2.551 MB / 446.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001265/0.202, allocations: 73.84 kB / 0.5968 GB, free: 2.473 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2021, allocations: 12 kB / 0.5968 GB, free: 2.461 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2021, allocations: 0 / 0.5968 GB, free: 2.461 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2021, allocations: 4 kB / 0.5968 GB, free: 2.457 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.2022, allocations: 15.94 kB / 0.5969 GB, free: 2.441 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2022, allocations: 3.984 kB / 0.5969 GB, free: 2.438 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.2022, allocations: 0 / 0.5969 GB, free: 2.438 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2023, allocations: 4 kB / 0.5969 GB, free: 2.434 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 (8):
* Single equations (assignments): 8
* 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 7.408e-05/0.2023, allocations: 110.7 kB / 0.597 GB, free: 2.316 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.2024, allocations: 7.938 kB / 0.597 GB, free: 2.309 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.2025, allocations: 85.62 kB / 0.5971 GB, free: 2.215 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2025, allocations: 3.938 kB / 0.5971 GB, free: 2.211 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2026, allocations: 4 kB / 0.5971 GB, free: 2.207 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2026, allocations: 0 / 0.5971 GB, free: 2.207 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2027, allocations: 169.5 kB / 0.5972 GB, free: 1.992 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2027, allocations: 0 / 0.5972 GB, free: 1.992 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.2028, allocations: 16 kB / 0.5972 GB, free: 1.977 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2028, allocations: 0 / 0.5972 GB, free: 1.977 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2028, allocations: 0 / 0.5972 GB, free: 1.977 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2028, allocations: 4 kB / 0.5972 GB, free: 1.973 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2028, allocations: 0 / 0.5972 GB, free: 1.973 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.203, allocations: 120.9 kB / 0.5974 GB, free: 1.836 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.2031, allocations: 81.09 kB / 0.5974 GB, free: 1.738 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2031, allocations: 7.938 kB / 0.5974 GB, free: 1.73 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.2031, allocations: 4.031 kB / 0.5974 GB, free: 1.727 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.2032, allocations: 3.984 kB / 0.5974 GB, free: 1.723 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.2032, allocations: 4.062 kB / 0.5975 GB, free: 1.719 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 3.127e-05/0.2032, allocations: 83.27 kB / 0.5975 GB, free: 1.637 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.2032, allocations: 0 / 0.5975 GB, free: 1.637 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0002341/0.2035, allocations: 32 kB / 0.5976 GB, free: 1.605 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 (8):
* Single equations (assignments): 8
* 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.0002118/0.2037, allocations: 127.2 kB / 0.5977 GB, free: 1.473 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001103/0.2038, allocations: 39.91 kB / 0.5977 GB, free: 1.434 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2038, allocations: 0 / 0.5977 GB, free: 1.434 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.2038, allocations: 23.94 kB / 0.5977 GB, free: 1.41 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.204, allocations: 20.02 kB / 0.5978 GB, free: 1.391 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.2043, allocations: 155.8 kB / 0.5979 GB, free: 1.211 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2046, allocations: 0.6809 MB / 0.5986 GB, free: 0.5039 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 3.515e-05/0.2046, allocations: 4 kB / 0.5986 GB, free: 0.5 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.2047, allocations: 15.44 kB / 0.5986 GB, free: 500 kB / 446.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.2047, allocations: 0 / 0.5986 GB, free: 500 kB / 446.1 MB
Notification: Performance of Templates: time 0.003458/0.2081, allocations: 0.8521 MB / 0.5994 GB, free: 15.68 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)
Environment - environmentSimulation: