Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck")
translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8106/0.8106, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.0009362/0.0009365, allocations: 162.8 kB / 171.8 MB, free: 2.047 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.271/1.271, allocations: 170.6 MB / 374.2 MB, free: 15.77 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.001589/0.001588, allocations: 116.1 kB / 444.8 MB, free: 9.301 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.4405/0.4405, allocations: 73.4 MB / 0.6666 GB, free: 46.94 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.5806, allocations: 101.4 MB / 0.7656 GB, free: 3.473 MB / 474.7 MB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5809, allocations: 84.66 kB / 0.7657 GB, free: 3.391 MB / 474.7 MB
Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.5916, allocations: 3.53 MB / 0.7691 GB, free: 15.94 MB / 490.7 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.5917, allocations: 0 / 0.7691 GB, free: 15.94 MB / 490.7 MB
Notification: Performance of Transformations before backend: time 6.091e-06/0.5917, allocations: 0 / 0.7691 GB, free: 15.94 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.0003841/0.5921, allocations: 358.4 kB / 0.7695 GB, free: 15.54 MB / 490.7 MB
Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5921, allocations: 8.031 kB / 0.7695 GB, free: 15.54 MB / 490.7 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.5925, allocations: 65.97 kB / 0.7695 GB, free: 15.47 MB / 490.7 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.5927, allocations: 169.8 kB / 0.7697 GB, free: 15.27 MB / 490.7 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5927, allocations: 4 kB / 0.7697 GB, free: 15.27 MB / 490.7 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.5927, allocations: 3.938 kB / 0.7697 GB, free: 15.26 MB / 490.7 MB
Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.179e-05/0.5928, allocations: 16 kB / 0.7697 GB, free: 15.25 MB / 490.7 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.5929, allocations: 45.67 kB / 0.7698 GB, free: 15.2 MB / 490.7 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.593, allocations: 3.609 kB / 0.7698 GB, free: 15.2 MB / 490.7 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.593, allocations: 0 / 0.7698 GB, free: 15.2 MB / 490.7 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.593, allocations: 0.6562 kB / 0.7698 GB, free: 15.2 MB / 490.7 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.5932, allocations: 146.2 kB / 0.7699 GB, free: 15.02 MB / 490.7 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.5934, allocations: 46.61 kB / 0.7699 GB, free: 14.96 MB / 490.7 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.5934, allocations: 16.86 kB / 0.77 GB, free: 14.94 MB / 490.7 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.5935, allocations: 96 / 0.77 GB, free: 14.94 MB / 490.7 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5935, allocations: 41.59 kB / 0.77 GB, free: 14.89 MB / 490.7 MB
Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.5935, allocations: 0 / 0.77 GB, free: 14.89 MB / 490.7 MB
Notification: Performance of matching and sorting (n=6): time 0.002131/0.5956, allocations: 0.6349 MB / 0.7706 GB, free: 14.2 MB / 490.7 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5957, allocations: 55.41 kB / 0.7707 GB, free: 14.13 MB / 490.7 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.5957, allocations: 89 kB / 0.7708 GB, free: 14.04 MB / 490.7 MB
Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.5958, allocations: 25.7 kB / 0.7708 GB, free: 14 MB / 490.7 MB
Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.5958, allocations: 85.62 kB / 0.7709 GB, free: 13.92 MB / 490.7 MB
Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.5959, allocations: 27.59 kB / 0.7709 GB, free: 13.89 MB / 490.7 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.5959, allocations: 0 / 0.7709 GB, free: 13.89 MB / 490.7 MB
Notification: Performance of setup shared object (initialization): time 0.000109/0.596, allocations: 310.8 kB / 0.7712 GB, free: 13.58 MB / 490.7 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.596, allocations: 28.11 kB / 0.7712 GB, free: 13.55 MB / 490.7 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.5961, allocations: 16 kB / 0.7712 GB, free: 13.54 MB / 490.7 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.5962, allocations: 18.48 kB / 0.7713 GB, free: 13.52 MB / 490.7 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5962, allocations: 0 / 0.7713 GB, free: 13.52 MB / 490.7 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001581/0.5963, allocations: 81.58 kB / 0.7713 GB, free: 13.43 MB / 490.7 MB
Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5964, allocations: 7.984 kB / 0.7713 GB, free: 13.43 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5964, allocations: 0 / 0.7713 GB, free: 13.43 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5964, allocations: 0 / 0.7713 GB, free: 13.43 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.5966, allocations: 47.97 kB / 0.7714 GB, free: 13.38 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5966, allocations: 3.953 kB / 0.7714 GB, free: 13.38 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.5968, allocations: 31.97 kB / 0.7714 GB, free: 13.34 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.5968, allocations: 7.984 kB / 0.7714 GB, free: 13.34 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: 0 ()
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
* Single equations (assignments): 7
* 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 7.493e-05/0.5969, allocations: 106.7 kB / 0.7715 GB, free: 13.23 MB / 490.7 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.5969, allocations: 0 / 0.7715 GB, free: 13.23 MB / 490.7 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.597, allocations: 12.41 kB / 0.7715 GB, free: 13.21 MB / 490.7 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.597, allocations: 3.938 kB / 0.7715 GB, free: 13.21 MB / 490.7 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.597, allocations: 0 / 0.7715 GB, free: 13.21 MB / 490.7 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.597, allocations: 3.953 kB / 0.7715 GB, free: 13.21 MB / 490.7 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.5971, allocations: 149 kB / 0.7717 GB, free: 13.03 MB / 490.7 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5971, allocations: 4 kB / 0.7717 GB, free: 13.02 MB / 490.7 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5974, allocations: 39.95 kB / 0.7717 GB, free: 12.98 MB / 490.7 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5974, allocations: 4 kB / 0.7717 GB, free: 12.98 MB / 490.7 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5974, allocations: 0 / 0.7717 GB, free: 12.98 MB / 490.7 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.5974, allocations: 7.984 kB / 0.7717 GB, free: 12.97 MB / 490.7 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5974, allocations: 0 / 0.7717 GB, free: 12.97 MB / 490.7 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.5977, allocations: 133 kB / 0.7719 GB, free: 12.82 MB / 490.7 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.5978, allocations: 89.03 kB / 0.772 GB, free: 12.72 MB / 490.7 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.5978, allocations: 0 / 0.772 GB, free: 12.72 MB / 490.7 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.598, allocations: 32.03 kB / 0.772 GB, free: 12.69 MB / 490.7 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.598, allocations: 11.98 kB / 0.772 GB, free: 12.68 MB / 490.7 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5981, allocations: 4 kB / 0.772 GB, free: 12.67 MB / 490.7 MB
Notification: Performance of sorting global known variables: time 3.052e-05/0.5981, allocations: 78 kB / 0.7721 GB, free: 12.6 MB / 490.7 MB
Notification: Performance of sort global known variables: time 1.41e-07/0.5981, allocations: 0 / 0.7721 GB, free: 12.6 MB / 490.7 MB
Notification: Performance of remove unused functions: time 0.0002378/0.5984, allocations: 47.92 kB / 0.7721 GB, free: 12.55 MB / 490.7 MB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 1
* Number of states: 1 (y_comp)
* Number of discrete variables: 0 ()
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
* Single equations (assignments): 6
* 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.0002283/0.5986, allocations: 148.3 kB / 0.7723 GB, free: 12.4 MB / 490.7 MB
Notification: Performance of simCode: created initialization part: time 0.0001306/0.5987, allocations: 47.98 kB / 0.7723 GB, free: 12.35 MB / 490.7 MB
Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5987, allocations: 0 / 0.7723 GB, free: 12.35 MB / 490.7 MB
Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.5988, allocations: 27.94 kB / 0.7723 GB, free: 12.32 MB / 490.7 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.5989, allocations: 0.8594 kB / 0.7723 GB, free: 12.32 MB / 490.7 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.5996, allocations: 189.8 kB / 0.7725 GB, free: 12.12 MB / 490.7 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.5999, allocations: 0.6845 MB / 0.7732 GB, free: 11.41 MB / 490.7 MB
Notification: Performance of simCode: alias equations: time 0.000157/0.6, allocations: 26.89 kB / 0.7732 GB, free: 11.38 MB / 490.7 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.6001, allocations: 15.44 kB / 0.7732 GB, free: 11.37 MB / 490.7 MB
Notification: Performance of SimCode: time 2.41e-07/0.6001, allocations: 0 / 0.7732 GB, free: 11.37 MB / 490.7 MB
Notification: Performance of Templates: time 0.003022/0.6031, allocations: 1.035 MB / 0.7742 GB, free: 10.38 MB / 490.7 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile
(rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)