Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false)
Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo)
Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo)
Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo)
Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo)
Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo)
Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite")
translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7133/0.7133, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009848/0.0009851, allocations: 173.7 kB / 176.9 MB, free: 2.266 MB / 138.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.193/1.193, allocations: 170.5 MB / 379.3 MB, free: 11.84 MB / 282.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001544/0.001544, allocations: 113.7 kB / 450 MB, free: 5.781 MB / 346.7 MB
[/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.44/0.44, allocations: 73.39 MB / 0.6736 GB, free: 47.66 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5766, allocations: 102.3 MB / 0.7736 GB, free: 14.37 MB / 490.7 MB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5769, allocations: 75.95 kB / 0.7736 GB, free: 14.29 MB / 490.7 MB
Notification: Performance of FrontEnd - DAE generated: time 0.009351/0.5863, allocations: 3.131 MB / 0.7767 GB, free: 11.2 MB / 490.7 MB
Notification: Performance of FrontEnd: time 1.472e-06/0.5863, allocations: 0 / 0.7767 GB, free: 11.2 MB / 490.7 MB
Notification: Performance of Transformations before backend: time 6.302e-06/0.5863, allocations: 4 kB / 0.7767 GB, free: 11.2 MB / 490.7 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 4
* Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.000362/0.5867, allocations: 424.7 kB / 0.7771 GB, free: 10.73 MB / 490.7 MB
Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5867, allocations: 8.031 kB / 0.7771 GB, free: 10.72 MB / 490.7 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.5868, allocations: 11.91 kB / 0.7771 GB, free: 10.71 MB / 490.7 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5869, allocations: 174.8 kB / 0.7773 GB, free: 10.5 MB / 490.7 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5869, allocations: 0 / 0.7773 GB, free: 10.5 MB / 490.7 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.587, allocations: 4 kB / 0.7773 GB, free: 10.5 MB / 490.7 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.5872, allocations: 100.3 kB / 0.7774 GB, free: 10.39 MB / 490.7 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5872, allocations: 0 / 0.7774 GB, free: 10.39 MB / 490.7 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5872, allocations: 11.61 kB / 0.7774 GB, free: 10.39 MB / 490.7 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5872, allocations: 0 / 0.7774 GB, free: 10.39 MB / 490.7 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.5873, allocations: 63.94 kB / 0.7774 GB, free: 10.32 MB / 490.7 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.5875, allocations: 173.7 kB / 0.7776 GB, free: 10.11 MB / 490.7 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5876, allocations: 74.55 kB / 0.7777 GB, free: 10.02 MB / 490.7 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.5877, allocations: 68.89 kB / 0.7777 GB, free: 9.953 MB / 490.7 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.5877, allocations: 0 / 0.7777 GB, free: 9.953 MB / 490.7 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5877, allocations: 42.5 kB / 0.7778 GB, free: 9.902 MB / 490.7 MB
Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5877, allocations: 0 / 0.7778 GB, free: 9.902 MB / 490.7 MB
Notification: Performance of matching and sorting (n=4): time 0.0003199/0.588, allocations: 191.2 kB / 0.778 GB, free: 9.703 MB / 490.7 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5881, allocations: 85.09 kB / 0.7781 GB, free: 9.602 MB / 490.7 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.5882, allocations: 130.9 kB / 0.7782 GB, free: 9.465 MB / 490.7 MB
Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.5883, allocations: 29.69 kB / 0.7782 GB, free: 9.43 MB / 490.7 MB
Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.5883, allocations: 96.08 kB / 0.7783 GB, free: 9.332 MB / 490.7 MB
Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.5884, allocations: 11.81 kB / 0.7783 GB, free: 9.32 MB / 490.7 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5884, allocations: 0 / 0.7783 GB, free: 9.32 MB / 490.7 MB
Notification: Performance of setup shared object (initialization): time 0.0001241/0.5885, allocations: 326.9 kB / 0.7786 GB, free: 8.992 MB / 490.7 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5886, allocations: 95.94 kB / 0.7787 GB, free: 8.898 MB / 490.7 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.5887, allocations: 95.94 kB / 0.7788 GB, free: 8.805 MB / 490.7 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5889, allocations: 155.3 kB / 0.779 GB, free: 8.641 MB / 490.7 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5889, allocations: 0 / 0.779 GB, free: 8.641 MB / 490.7 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.000324/0.5892, allocations: 310.2 kB / 0.7792 GB, free: 8.32 MB / 490.7 MB
Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.5893, allocations: 73.25 kB / 0.7793 GB, free: 8.238 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5893, allocations: 2.625 kB / 0.7793 GB, free: 8.238 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5893, allocations: 4 kB / 0.7793 GB, free: 8.234 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5893, allocations: 4.062 kB / 0.7793 GB, free: 8.23 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5894, allocations: 3.953 kB / 0.7793 GB, free: 8.227 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.5894, allocations: 14.75 kB / 0.7793 GB, free: 8.215 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.5895, allocations: 8 kB / 0.7794 GB, free: 8.207 MB / 490.7 MB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 1
* Number of states: 0 ()
* Number of discrete variables: 1 (i)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
* Single equations (assignments): 0
* Array equations: 0
* Algorithm blocks: 2
* 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.0001/0.5896, allocations: 142.7 kB / 0.7795 GB, free: 8.055 MB / 490.7 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.5896, allocations: 7.906 kB / 0.7795 GB, free: 8.047 MB / 490.7 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.5896, allocations: 4.031 kB / 0.7795 GB, free: 8.043 MB / 490.7 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.5896, allocations: 0 / 0.7795 GB, free: 8.043 MB / 490.7 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5896, allocations: 0 / 0.7795 GB, free: 8.043 MB / 490.7 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5896, allocations: 7.953 kB / 0.7795 GB, free: 8.035 MB / 490.7 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.5898, allocations: 173.6 kB / 0.7797 GB, free: 7.816 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5898, allocations: 0 / 0.7797 GB, free: 7.816 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5898, allocations: 3.938 kB / 0.7797 GB, free: 7.812 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5898, allocations: 4 kB / 0.7797 GB, free: 7.809 MB / 490.7 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5898, allocations: 0 / 0.7797 GB, free: 7.809 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5898, allocations: 5.469 kB / 0.7797 GB, free: 7.805 MB / 490.7 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5898, allocations: 0 / 0.7797 GB, free: 7.805 MB / 490.7 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.5901, allocations: 234.5 kB / 0.7799 GB, free: 7.551 MB / 490.7 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.5902, allocations: 89 kB / 0.78 GB, free: 7.445 MB / 490.7 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.5902, allocations: 0 / 0.78 GB, free: 7.445 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/0.5902, allocations: 6.625 kB / 0.78 GB, free: 7.441 MB / 490.7 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.5903, allocations: 7.984 kB / 0.78 GB, free: 7.434 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.5903, allocations: 4 kB / 0.78 GB, free: 7.43 MB / 490.7 MB
Notification: Performance of sorting global known variables: time 6.928e-05/0.5904, allocations: 103.3 kB / 0.7801 GB, free: 7.328 MB / 490.7 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.5904, allocations: 0 / 0.7801 GB, free: 7.328 MB / 490.7 MB
Notification: Performance of remove unused functions: time 0.0002549/0.5907, allocations: 75.92 kB / 0.7802 GB, free: 7.254 MB / 490.7 MB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 1
* Number of states: 0 ()
* Number of discrete variables: 1 (i)
* Number of discrete states: 1 (i)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
* Single equations (assignments): 0
* Array equations: 0
* Algorithm blocks: 1
* 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.0002742/0.5909, allocations: 168.4 kB / 0.7803 GB, free: 7.082 MB / 490.7 MB
Notification: Performance of simCode: created initialization part: time 0.0003845/0.5913, allocations: 366.6 kB / 0.7807 GB, free: 6.699 MB / 490.7 MB
Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5914, allocations: 0 / 0.7807 GB, free: 6.699 MB / 490.7 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.5915, allocations: 135.4 kB / 0.7808 GB, free: 6.555 MB / 490.7 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.576e-05/0.5916, allocations: 5.875 kB / 0.7808 GB, free: 6.551 MB / 490.7 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.5919, allocations: 160.2 kB / 0.781 GB, free: 6.371 MB / 490.7 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5922, allocations: 0.7061 MB / 0.7817 GB, free: 5.641 MB / 490.7 MB
Notification: Performance of simCode: alias equations: time 5.54e-06/0.5922, allocations: 0 / 0.7817 GB, free: 5.641 MB / 490.7 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-06/0.5922, allocations: 7.438 kB / 0.7817 GB, free: 5.633 MB / 490.7 MB
Notification: Performance of SimCode: time 2.6e-07/0.5922, allocations: 0 / 0.7817 GB, free: 5.633 MB / 490.7 MB
Notification: Performance of Templates: time 0.003901/0.5961, allocations: 1.849 MB / 0.7835 GB, free: 3.82 MB / 490.7 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile
(rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)