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.1907/0.1914, allocations: 82.21 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow): time 0.6442/0.8357, allocations: 247 MB / 0.8346 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03284/0.8685, allocations: 24.58 MB / 0.8586 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003546/0.8721, allocations: 63.62 kB / 0.8586 GB, free: 184 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004363/0.8765, allocations: 1.023 MB / 0.8596 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.887, allocations: 2.731 MB / 0.8623 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009671/0.8967, allocations: 2.865 MB / 0.8651 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006087/0.9028, allocations: 2.421 MB / 0.8675 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.9055, allocations: 1.127 MB / 0.8686 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.9094, allocations: 1.406 MB / 0.8699 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.9116, allocations: 0.8129 MB / 0.8707 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004615/0.912, allocations: 64 kB / 0.8708 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.9158, allocations: 1.193 MB / 0.8719 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007895/0.9166, allocations: 410.6 kB / 0.8723 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.9177, allocations: 396.8 kB / 0.8727 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.9224, allocations: 2.724 MB / 0.8754 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9224, allocations: 4 kB / 0.8754 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9224, allocations: 0 / 0.8754 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001102/0.9226, allocations: 4 kB / 0.8754 GB, free: 14.98 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004556/0.9271, allocations: 1.912 MB / 0.8773 GB, free: 13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9272, allocations: 12.03 kB / 0.8773 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/0.9308, allocations: 0.5715 MB / 0.8778 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/0.9349, allocations: 1.749 MB / 0.8795 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006734/0.9355, allocations: 218 kB / 0.8797 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.9358, allocations: 104 kB / 0.8798 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.9389, allocations: 1.343 MB / 0.8811 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.939, allocations: 7.938 kB / 0.8812 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.9391, allocations: 48 kB / 0.8812 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.9392, allocations: 49.92 kB / 0.8813 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.9418, allocations: 1.038 MB / 0.8823 GB, free: 7.691 MB / 0.6387 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.009297/0.9511, allocations: 6.801 MB / 0.8889 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.9526, allocations: 373.4 kB / 0.8893 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.9527, allocations: 7.984 kB / 0.8893 GB, free: 132 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.9527, allocations: 38.56 kB / 0.8893 GB, free: 84 kB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007553/0.9535, allocations: 79 kB / 0.8894 GB, free: 4 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 3.607e-06/0.9535, allocations: 0 / 0.8894 GB, free: 4 kB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001873/0.9554, allocations: 0.5272 MB / 0.8899 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.9555, allocations: 55.34 kB / 0.8899 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.9586, allocations: 1.655 MB / 0.8916 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-05/0.9587, allocations: 33.7 kB / 0.8916 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007866/0.9595, allocations: 0.7973 MB / 0.8924 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.9596, allocations: 78.94 kB / 0.8925 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.9596, allocations: 20 kB / 0.8925 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.9598, allocations: 337.9 kB / 0.8928 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00094/0.9607, allocations: 353.5 kB / 0.8931 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.9619, allocations: 0.6871 MB / 0.8938 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.963, allocations: 490.7 kB / 0.8943 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.9631, allocations: 7.953 kB / 0.8943 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002628/0.9657, allocations: 1.204 MB / 0.8955 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001865/0.9676, allocations: 4.185 MB / 0.8995 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.9676, allocations: 8 kB / 0.8995 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.9676, allocations: 16 kB / 0.8996 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/0.9684, allocations: 187.7 kB / 0.8997 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.9684, allocations: 19.92 kB / 0.8998 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.9701, allocations: 191.7 kB / 0.8999 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9702, allocations: 51.97 kB / 0.9 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.9702, allocations: 4 kB / 0.9 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002132/0.9723, allocations: 1.124 MB / 0.9011 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.9724, allocations: 13 kB / 0.9011 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.9724, allocations: 16 kB / 0.9011 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.973, allocations: 171.7 kB / 0.9013 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.973, allocations: 27.88 kB / 0.9013 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.9742, allocations: 139.6 kB / 0.9014 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.9743, allocations: 47.98 kB / 0.9015 GB, free: 3.004 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008252/0.9752, allocations: 0.4968 MB / 0.902 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.9754, allocations: 154.1 kB / 0.9021 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.9766, allocations: 438.1 kB / 0.9025 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9766, allocations: 0 / 0.9025 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9766, allocations: 3.984 kB / 0.9025 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9766, allocations: 0 / 0.9025 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.9794, allocations: 1.543 MB / 0.9041 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9795, allocations: 8.031 kB / 0.9041 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.9798, allocations: 55.89 kB / 0.9041 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.9798, allocations: 4 kB / 0.9041 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.9798, allocations: 7.984 kB / 0.9041 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9798, allocations: 4 kB / 0.9041 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9798, allocations: 0 / 0.9041 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.9809, allocations: 0.688 MB / 0.9048 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/0.9814, allocations: 271.1 kB / 0.9051 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.9816, allocations: 12.12 kB / 0.9051 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.9825, allocations: 83.77 kB / 0.9052 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.9825, allocations: 15.94 kB / 0.9052 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.9826, allocations: 12 kB / 0.9052 GB, free: 15 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001848/0.9844, allocations: 1.149 MB / 0.9063 GB, free: 13.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9844, allocations: 0 / 0.9063 GB, free: 13.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001984/0.9864, allocations: 0.6786 MB / 0.907 GB, free: 13.18 MB / 0.67 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 (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.0007983/0.9872, allocations: 329.1 kB / 0.9073 GB, free: 12.86 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.9902, allocations: 1.721 MB / 0.909 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.9903, allocations: 0.75 kB / 0.909 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.9906, allocations: 139.8 kB / 0.9091 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/0.994, allocations: 0.7786 MB / 0.9099 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.9985, allocations: 2.642 MB / 0.9124 GB, free: 7.531 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.9997, allocations: 1.287 MB / 0.9137 GB, free: 6.215 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001558/1.001, allocations: 305.1 kB / 0.914 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/1.002, allocations: 103.4 kB / 0.9141 GB, free: 5.809 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/1.002, allocations: 0 / 0.9141 GB, free: 5.809 MB / 0.67 GB Notification: Performance of Templates: time 0.04758/1.049, allocations: 28.26 MB / 0.9417 GB, free: 9.844 MB / 0.7012 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: