Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.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_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow") [/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.1912/0.1921, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow): time 0.6608/0.853, allocations: 298.3 MB / 0.8854 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03567/0.8887, allocations: 27.96 MB / 0.9127 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.8913, allocations: 63.62 kB / 0.9128 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.8945, allocations: 1.112 MB / 0.9139 GB, free: 10.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00695/0.9015, allocations: 2.698 MB / 0.9165 GB, free: 7.703 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005468/0.907, allocations: 2.34 MB / 0.9188 GB, free: 5.367 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006667/0.9137, allocations: 5.356 MB / 0.924 GB, free: 0 / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.9158, allocations: 1.339 MB / 0.9253 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.9195, allocations: 1.576 MB / 0.9269 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.9223, allocations: 1.238 MB / 0.9281 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.9226, allocations: 67.94 kB / 0.9281 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005693/0.9283, allocations: 2.997 MB / 0.9311 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/0.9288, allocations: 446.4 kB / 0.9315 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.9299, allocations: 0.8761 MB / 0.9323 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005402/0.9353, allocations: 4.093 MB / 0.9363 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9354, allocations: 4 kB / 0.9363 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9354, allocations: 0 / 0.9363 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.718e-05/0.9354, allocations: 4 kB / 0.9363 GB, free: 3.285 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003301/0.9387, allocations: 1.943 MB / 0.9382 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.9388, allocations: 15.97 kB / 0.9383 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.9418, allocations: 0.5753 MB / 0.9388 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.9446, allocations: 1.814 MB / 0.9406 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/0.9453, allocations: 214 kB / 0.9408 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.9454, allocations: 108 kB / 0.9409 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.948, allocations: 1.362 MB / 0.9422 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.948, allocations: 3.938 kB / 0.9422 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.9481, allocations: 44 kB / 0.9423 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.9482, allocations: 41.98 kB / 0.9423 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.9506, allocations: 1.042 MB / 0.9433 GB, free: 11.88 MB / 0.7012 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.007852/0.9584, allocations: 6.797 MB / 0.95 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.96, allocations: 370.5 kB / 0.9503 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.9604, allocations: 128.8 kB / 0.9505 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.9607, allocations: 190.2 kB / 0.9506 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.9607, allocations: 38.56 kB / 0.9507 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004142/0.9611, allocations: 74.97 kB / 0.9507 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.9611, allocations: 0 / 0.9507 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001414/0.9626, allocations: 0.5211 MB / 0.9512 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.9626, allocations: 59.41 kB / 0.9513 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.9651, allocations: 1.671 MB / 0.9529 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.9651, allocations: 33.7 kB / 0.953 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.9658, allocations: 0.8089 MB / 0.9538 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.9658, allocations: 79 kB / 0.9538 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.9659, allocations: 69.67 kB / 0.9539 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9661, allocations: 329.9 kB / 0.9542 GB, free: 264 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/0.967, allocations: 349.5 kB / 0.9545 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.9681, allocations: 0.6633 MB / 0.9552 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.9696, allocations: 0.8861 MB / 0.9561 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.9696, allocations: 8 kB / 0.9561 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002459/0.9721, allocations: 1.158 MB / 0.9572 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.9724, allocations: 431.3 kB / 0.9576 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.9724, allocations: 8 kB / 0.9576 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.9724, allocations: 23.94 kB / 0.9576 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.9732, allocations: 187.7 kB / 0.9578 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.9732, allocations: 23.92 kB / 0.9578 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.9745, allocations: 171.7 kB / 0.958 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.9746, allocations: 55.98 kB / 0.9581 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.9746, allocations: 4 kB / 0.9581 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/0.9766, allocations: 1.075 MB / 0.9591 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.9767, allocations: 16 kB / 0.9591 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9767, allocations: 15.98 kB / 0.9591 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.9773, allocations: 171.9 kB / 0.9593 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.9773, allocations: 15.94 kB / 0.9593 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/0.9783, allocations: 135.7 kB / 0.9595 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.9784, allocations: 44 kB / 0.9595 GB, free: 10.37 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0006951/0.9791, allocations: 0.5085 MB / 0.96 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.9792, allocations: 146.1 kB / 0.9601 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.9803, allocations: 432.2 kB / 0.9605 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9803, allocations: 0 / 0.9605 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9803, allocations: 0 / 0.9605 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9803, allocations: 4 kB / 0.9605 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.9827, allocations: 1.481 MB / 0.962 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9827, allocations: 0 / 0.962 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.983, allocations: 47.91 kB / 0.962 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.983, allocations: 4 kB / 0.962 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.983, allocations: 11.98 kB / 0.9621 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.065e-05/0.9831, allocations: 4.328 kB / 0.9621 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.9831, allocations: 11.98 kB / 0.9621 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.984, allocations: 0.554 MB / 0.9626 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.9844, allocations: 279 kB / 0.9629 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.9845, allocations: 8 kB / 0.9629 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.9853, allocations: 71.92 kB / 0.963 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.9853, allocations: 19.92 kB / 0.963 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.9854, allocations: 12 kB / 0.963 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001734/0.9871, allocations: 1.168 MB / 0.9641 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.623e-06/0.9871, allocations: 0 / 0.9641 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001732/0.9888, allocations: 0.6901 MB / 0.9648 GB, free: 4.781 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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.0006692/0.9895, allocations: 334.2 kB / 0.9651 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.9924, allocations: 1.713 MB / 0.9668 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9925, allocations: 0 / 0.9668 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.9928, allocations: 131.8 kB / 0.9669 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.9965, allocations: 0.7777 MB / 0.9677 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/1.288, allocations: 2.754 MB / 0.9704 GB, free: 282.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/1.289, allocations: 1.261 MB / 0.9716 GB, free: 282.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001584/1.291, allocations: 297.9 kB / 0.9719 GB, free: 282.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.291, allocations: 110.4 kB / 0.972 GB, free: 282.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.153e-06/1.291, allocations: 0 / 0.972 GB, free: 282.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.04945/1.341, allocations: 29.33 MB / 1.001 GB, free: 271.5 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: