Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.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.Fluid.FMI.Examples.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan")
translateModel(Buildings.Fluid.FMI.Examples.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan")
[/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.1903/0.191, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFan): time 0.7274/0.9185, allocations: 253.1 MB / 0.8405 GB, free: 2.617 MB / 0.5919 GB
Notification: Performance of NFInst.instExpressions: time 0.03613/0.9547, allocations: 26.09 MB / 0.866 GB, free: 8.48 MB / 0.6231 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.9588, allocations: 63.62 kB / 0.8661 GB, free: 8.418 MB / 0.6231 GB
Notification: Performance of NFTyping.typeComponents: time 0.004221/0.963, allocations: 1.038 MB / 0.8671 GB, free: 7.375 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.01004/0.9731, allocations: 2.766 MB / 0.8698 GB, free: 4.605 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.009175/0.9823, allocations: 2.888 MB / 0.8726 GB, free: 1.742 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.006737/0.989, allocations: 2.679 MB / 0.8752 GB, free: 15.06 MB / 0.6387 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.9914, allocations: 1.331 MB / 0.8765 GB, free: 13.7 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.9948, allocations: 1.468 MB / 0.8779 GB, free: 12.23 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.9962, allocations: 0.8947 MB / 0.8788 GB, free: 11.33 MB / 0.6387 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.9964, allocations: 71.94 kB / 0.8789 GB, free: 11.26 MB / 0.6387 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003587/1, allocations: 1.392 MB / 0.8802 GB, free: 9.863 MB / 0.6387 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004486/1, allocations: 422.5 kB / 0.8806 GB, free: 9.449 MB / 0.6387 GB
Notification: Performance of NFVerifyModel.verify: time 0.000523/1.001, allocations: 440.7 kB / 0.8811 GB, free: 9.012 MB / 0.6387 GB
Notification: Performance of NFConvertDAE.convert: time 0.003597/1.005, allocations: 3.051 MB / 0.884 GB, free: 5.953 MB / 0.6387 GB
Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/1.005, allocations: 0 / 0.884 GB, free: 5.953 MB / 0.6387 GB
Notification: Performance of FrontEnd: time 1.563e-06/1.005, allocations: 0 / 0.884 GB, free: 5.953 MB / 0.6387 GB
Notification: Performance of Transformations before backend: time 2.721e-05/1.005, allocations: 0 / 0.884 GB, free: 5.953 MB / 0.6387 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 320
* Number of variables: 320
Notification: Performance of Generate backend data structure: time 0.003492/1.008, allocations: 2.049 MB / 0.886 GB, free: 3.84 MB / 0.6387 GB
Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.008, allocations: 8.031 kB / 0.8861 GB, free: 3.832 MB / 0.6387 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/1.013, allocations: 0.8171 MB / 0.8869 GB, free: 3.012 MB / 0.6387 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/1.016, allocations: 1.851 MB / 0.8887 GB, free: 1.105 MB / 0.6387 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/1.016, allocations: 234.4 kB / 0.8889 GB, free: 0.875 MB / 0.6387 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.017, allocations: 124 kB / 0.889 GB, free: 0.7539 MB / 0.6387 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/1.02, allocations: 1.64 MB / 0.8906 GB, free: 15.05 MB / 0.6544 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.02, allocations: 7.984 kB / 0.8906 GB, free: 15.05 MB / 0.6544 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/1.02, allocations: 48 kB / 0.8907 GB, free: 15 MB / 0.6544 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/1.02, allocations: 50.39 kB / 0.8907 GB, free: 14.95 MB / 0.6544 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/1.024, allocations: 1.524 MB / 0.8922 GB, free: 13.42 MB / 0.6544 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009881/1.034, allocations: 7.268 MB / 0.8993 GB, free: 5.66 MB / 0.6544 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002886/1.037, allocations: 0.7726 MB / 0.9 GB, free: 4.879 MB / 0.6544 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/1.037, allocations: 16 kB / 0.9001 GB, free: 4.863 MB / 0.6544 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.037, allocations: 30.56 kB / 0.9001 GB, free: 4.824 MB / 0.6544 GB
Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005378/1.037, allocations: 98.8 kB / 0.9002 GB, free: 4.727 MB / 0.6544 GB
Notification: Performance of pre-optimization done (n=37): time 2.495e-06/1.037, allocations: 3.938 kB / 0.9002 GB, free: 4.723 MB / 0.6544 GB
Notification: Performance of matching and sorting (n=37): time 0.003455/1.041, allocations: 1.396 MB / 0.9015 GB, free: 3.238 MB / 0.6544 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.041, allocations: 59.41 kB / 0.9016 GB, free: 3.168 MB / 0.6544 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.044, allocations: 1.784 MB / 0.9033 GB, free: 1.387 MB / 0.6544 GB
Notification: Performance of collectPreVariables (initialization): time 6.671e-05/1.044, allocations: 33.7 kB / 0.9034 GB, free: 1.348 MB / 0.6544 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006895/1.044, allocations: 0.7957 MB / 0.9042 GB, free: 0.543 MB / 0.6544 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.045, allocations: 130.1 kB / 0.9043 GB, free: 424 kB / 0.6544 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/1.045, allocations: 16 kB / 0.9043 GB, free: 408 kB / 0.6544 GB
Notification: Performance of setup shared object (initialization): time 0.0001477/1.045, allocations: 334 kB / 0.9046 GB, free: 68 kB / 0.6544 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.046, allocations: 0.4969 MB / 0.9051 GB, free: 15.57 MB / 0.67 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.048, allocations: 0.6897 MB / 0.9058 GB, free: 14.8 MB / 0.67 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/1.049, allocations: 0.5735 MB / 0.9063 GB, free: 14.22 MB / 0.67 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.049, allocations: 4 kB / 0.9063 GB, free: 14.21 MB / 0.67 GB
Notification: Performance of matching and sorting (n=78) (initialization): time 0.003453/1.052, allocations: 1.605 MB / 0.9079 GB, free: 12.55 MB / 0.67 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0008629/1.053, allocations: 1.864 MB / 0.9097 GB, free: 10.54 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.053, allocations: 8 kB / 0.9097 GB, free: 10.53 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/1.054, allocations: 61.67 kB / 0.9098 GB, free: 10.46 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.055, allocations: 207.7 kB / 0.91 GB, free: 10.26 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/1.057, allocations: 2.821 MB / 0.9127 GB, free: 7.172 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.059, allocations: 299.7 kB / 0.913 GB, free: 6.879 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/1.059, allocations: 47.92 kB / 0.9131 GB, free: 6.832 MB / 0.67 GB
Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.059, allocations: 4.625 kB / 0.9131 GB, free: 6.828 MB / 0.67 GB
Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003019/1.062, allocations: 1.479 MB / 0.9145 GB, free: 5.297 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.062, allocations: 4 kB / 0.9145 GB, free: 5.293 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/1.062, allocations: 61.69 kB / 0.9146 GB, free: 5.227 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/1.063, allocations: 187.9 kB / 0.9148 GB, free: 5.043 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.065, allocations: 2.829 MB / 0.9175 GB, free: 1.949 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.067, allocations: 219.8 kB / 0.9177 GB, free: 1.734 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/1.067, allocations: 43.98 kB / 0.9178 GB, free: 1.691 MB / 0.67 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 20
* 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 (60):
* Single equations (assignments): 57
* 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: 2
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2}
* Non-linear torn systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.001167/1.068, allocations: 0.5008 MB / 0.9183 GB, free: 1.18 MB / 0.67 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/1.069, allocations: 161.9 kB / 0.9184 GB, free: 1.02 MB / 0.67 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/1.071, allocations: 0.9478 MB / 0.9194 GB, free: 20 kB / 0.67 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.071, allocations: 4 kB / 0.9194 GB, free: 16 kB / 0.67 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.071, allocations: 3.984 kB / 0.9194 GB, free: 12 kB / 0.67 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.071, allocations: 3.953 kB / 0.9194 GB, free: 8 kB / 0.67 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/1.075, allocations: 2.265 MB / 0.9216 GB, free: 13.61 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.075, allocations: 4 kB / 0.9216 GB, free: 13.61 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/1.075, allocations: 100 kB / 0.9217 GB, free: 13.51 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/1.076, allocations: 57.62 kB / 0.9217 GB, free: 13.45 MB / 0.6856 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/1.076, allocations: 11.98 kB / 0.9217 GB, free: 13.44 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/1.078, allocations: 2.817 MB / 0.9245 GB, free: 10.35 MB / 0.6856 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.078, allocations: 0 / 0.9245 GB, free: 10.35 MB / 0.6856 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/1.08, allocations: 1.123 MB / 0.9256 GB, free: 9.125 MB / 0.6856 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/1.08, allocations: 310.9 kB / 0.9259 GB, free: 8.801 MB / 0.6856 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/1.08, allocations: 15.95 kB / 0.9259 GB, free: 8.785 MB / 0.6856 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.082, allocations: 143.7 kB / 0.926 GB, free: 8.645 MB / 0.6856 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/1.082, allocations: 27.91 kB / 0.9261 GB, free: 8.617 MB / 0.6856 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/1.082, allocations: 15.98 kB / 0.9261 GB, free: 8.602 MB / 0.6856 GB
Notification: Performance of sorting global known variables: time 0.002162/1.084, allocations: 1.272 MB / 0.9273 GB, free: 7.34 MB / 0.6856 GB
Notification: Performance of sort global known variables: time 3e-07/1.084, allocations: 4 kB / 0.9273 GB, free: 7.336 MB / 0.6856 GB
Notification: Performance of remove unused functions: time 0.002429/1.086, allocations: 0.7642 MB / 0.9281 GB, free: 6.57 MB / 0.6856 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 6
* 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 (34):
* Single equations (assignments): 32
* 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: 2
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2}
* Non-linear torn systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007377/1.087, allocations: 321.5 kB / 0.9284 GB, free: 6.254 MB / 0.6856 GB
Notification: Performance of simCode: created initialization part: time 0.004856/1.092, allocations: 2.548 MB / 0.9309 GB, free: 3.633 MB / 0.6856 GB
Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.092, allocations: 0.625 kB / 0.9309 GB, free: 3.633 MB / 0.6856 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009767/1.093, allocations: 0.5288 MB / 0.9314 GB, free: 3.078 MB / 0.6856 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/1.097, allocations: 0.9368 MB / 0.9323 GB, free: 2.168 MB / 0.6856 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/1.102, allocations: 3.018 MB / 0.9352 GB, free: 15.09 MB / 0.7012 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.103, allocations: 1.347 MB / 0.9366 GB, free: 13.71 MB / 0.7012 GB
Notification: Performance of simCode: alias equations: time 0.001683/1.105, allocations: 342.2 kB / 0.9369 GB, free: 13.38 MB / 0.7012 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/1.105, allocations: 119.4 kB / 0.937 GB, free: 13.26 MB / 0.7012 GB
Notification: Performance of SimCode: time 1.042e-06/1.105, allocations: 0 / 0.937 GB, free: 13.26 MB / 0.7012 GB
Notification: Performance of Templates: time 0.3902/1.495, allocations: 34.25 MB / 0.9704 GB, free: 278.9 MB / 0.7169 GB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe 2>&1)
Environment - environmentSimulation: