Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic")
translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic")
[/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.1937/0.1945, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008662/0.1954, allocations: 310.7 kB / 0.5937 GB, free: 5.711 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000276/0.1957, allocations: 63.89 kB / 0.5937 GB, free: 5.648 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.1957, allocations: 0 / 0.5937 GB, free: 5.648 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.1957, allocations: 0 / 0.5937 GB, free: 5.648 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.1958, allocations: 7.984 kB / 0.5937 GB, free: 5.641 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1961, allocations: 31.95 kB / 0.5938 GB, free: 5.609 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.1961, allocations: 23.97 kB / 0.5938 GB, free: 5.586 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.1962, allocations: 3.938 kB / 0.5938 GB, free: 5.582 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.1962, allocations: 19.98 kB / 0.5938 GB, free: 5.562 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1965, allocations: 75.91 kB / 0.5939 GB, free: 5.488 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1965, allocations: 0 / 0.5939 GB, free: 5.488 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.1966, allocations: 35.91 kB / 0.5939 GB, free: 5.453 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.1966, allocations: 19.92 kB / 0.5939 GB, free: 5.434 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.1967, allocations: 29.7 kB / 0.594 GB, free: 5.398 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.1968, allocations: 43.94 kB / 0.594 GB, free: 5.355 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1968, allocations: 3.938 kB / 0.594 GB, free: 5.352 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.823e-06/0.1968, allocations: 0 / 0.594 GB, free: 5.352 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.027e-06/0.1968, allocations: 0 / 0.594 GB, free: 5.352 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: 21
* Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.0003272/0.1971, allocations: 346.6 kB / 0.5943 GB, free: 4.969 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1972, allocations: 16.03 kB / 0.5944 GB, free: 4.953 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1972, allocations: 11.91 kB / 0.5944 GB, free: 4.941 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1973, allocations: 163 kB / 0.5945 GB, free: 4.742 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1973, allocations: 0 / 0.5945 GB, free: 4.742 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1974, allocations: 7.984 kB / 0.5945 GB, free: 4.734 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1976, allocations: 174.2 kB / 0.5947 GB, free: 4.543 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1976, allocations: 8 kB / 0.5947 GB, free: 4.535 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1977, allocations: 11.92 kB / 0.5947 GB, free: 4.523 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.1977, allocations: 23.92 kB / 0.5947 GB, free: 4.5 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.1978, allocations: 39.89 kB / 0.5948 GB, free: 4.461 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.1985, allocations: 0.8985 MB / 0.5956 GB, free: 3.492 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.1986, allocations: 169.1 kB / 0.5958 GB, free: 3.316 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1986, allocations: 75.28 kB / 0.5959 GB, free: 3.242 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/0.1987, allocations: 117.8 kB / 0.596 GB, free: 3.117 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1987, allocations: 0 / 0.596 GB, free: 3.117 MB / 446.1 MB
Notification: Performance of matching and sorting (n=0): time 8.645e-05/0.1988, allocations: 37.55 kB / 0.596 GB, free: 3.074 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.199, allocations: 391.7 kB / 0.5964 GB, free: 2.617 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1992, allocations: 162.3 kB / 0.5966 GB, free: 2.449 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1992, allocations: 25.7 kB / 0.5966 GB, free: 2.418 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.1993, allocations: 155.3 kB / 0.5967 GB, free: 2.262 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.1993, allocations: 7.984 kB / 0.5967 GB, free: 2.254 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1993, allocations: 4 kB / 0.5967 GB, free: 2.25 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001424/0.1995, allocations: 318.8 kB / 0.597 GB, free: 1.93 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.1995, allocations: 28.38 kB / 0.5971 GB, free: 1.902 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.1997, allocations: 224.7 kB / 0.5973 GB, free: 1.59 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.1998, allocations: 59.91 kB / 0.5973 GB, free: 1.531 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.1998, allocations: 4 kB / 0.5973 GB, free: 1.527 MB / 446.1 MB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003216/0.2002, allocations: 189 kB / 0.5975 GB, free: 1.336 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2002, allocations: 16.59 kB / 0.5975 GB, free: 1.32 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2002, allocations: 4 kB / 0.5975 GB, free: 1.316 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.2002, allocations: 12 kB / 0.5976 GB, free: 1.305 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2004, allocations: 39.92 kB / 0.5976 GB, free: 1.266 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.2004, allocations: 8 kB / 0.5976 GB, free: 1.258 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.2005, allocations: 23.75 kB / 0.5976 GB, free: 1.234 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2005, allocations: 12 kB / 0.5976 GB, free: 1.223 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 21
* 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 (21):
* Single equations (assignments): 21
* 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 0.0001493/0.2007, allocations: 217 kB / 0.5978 GB, free: 1 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.2007, allocations: 112.8 kB / 0.598 GB, free: 0.8828 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.2008, allocations: 125.7 kB / 0.5981 GB, free: 0.7539 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-05/0.2009, allocations: 176.3 kB / 0.5982 GB, free: 0.5742 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.226e-05/0.2009, allocations: 184.2 kB / 0.5984 GB, free: 396 kB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-05/0.201, allocations: 176.3 kB / 0.5986 GB, free: 212 kB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.2013, allocations: 429.1 kB / 0.599 GB, free: 15.73 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.2013, allocations: 101 kB / 0.5991 GB, free: 15.62 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.2014, allocations: 105 kB / 0.5992 GB, free: 15.52 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.248e-05/0.2015, allocations: 184.4 kB / 0.5994 GB, free: 15.33 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.2015, allocations: 184.3 kB / 0.5995 GB, free: 15.14 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/0.2016, allocations: 192.2 kB / 0.5997 GB, free: 14.95 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-05/0.2017, allocations: 176.3 kB / 0.5999 GB, free: 14.77 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.2018, allocations: 315.8 kB / 0.6002 GB, free: 14.43 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.2019, allocations: 190 kB / 0.6004 GB, free: 14.22 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.202, allocations: 180.2 kB / 0.6005 GB, free: 14.04 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.2021, allocations: 105 kB / 0.6006 GB, free: 13.93 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.2021, allocations: 196.2 kB / 0.6008 GB, free: 13.73 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.2022, allocations: 101 kB / 0.6009 GB, free: 13.62 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 6.687e-05/0.2023, allocations: 119.4 kB / 0.601 GB, free: 13.51 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.2023, allocations: 0 / 0.601 GB, free: 13.51 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0003089/0.2026, allocations: 32 kB / 0.6011 GB, free: 13.48 MB / 462.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 (0):
* Single equations (assignments): 0
* 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.0001873/0.2028, allocations: 178.5 kB / 0.6012 GB, free: 13.3 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001448/0.2029, allocations: 72.03 kB / 0.6013 GB, free: 13.23 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2029, allocations: 7.938 kB / 0.6013 GB, free: 13.22 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.203, allocations: 3.938 kB / 0.6013 GB, free: 13.21 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.2033, allocations: 0.5308 MB / 0.6018 GB, free: 12.68 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.2036, allocations: 234.6 kB / 0.6021 GB, free: 12.43 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2039, allocations: 0.6932 MB / 0.6027 GB, free: 11.71 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.000198/0.2041, allocations: 60.58 kB / 0.6028 GB, free: 11.65 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.2041, allocations: 15.44 kB / 0.6028 GB, free: 11.63 MB / 462.1 MB
Notification: Performance of SimCode: time 2.31e-07/0.2041, allocations: 0 / 0.6028 GB, free: 11.63 MB / 462.1 MB
Notification: Performance of Templates: time 0.004166/0.2083, allocations: 1.693 MB / 0.6045 GB, free: 9.98 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)
Environment - environmentSimulation: