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.1797/0.1804, allocations: 82.21 MB / 0.5935 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFan_noReverseFlow): time 0.7002/0.8806, allocations: 278.2 MB / 0.8651 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03735/0.918, allocations: 25.86 MB / 0.8904 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.9222, allocations: 67.62 kB / 0.8904 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.9262, allocations: 0.8035 MB / 0.8912 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007918/0.9341, allocations: 2.085 MB / 0.8933 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006357/0.9405, allocations: 1.689 MB / 0.8949 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007163/0.9477, allocations: 4.568 MB / 0.8994 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.9504, allocations: 1.109 MB / 0.9005 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.9548, allocations: 1.49 MB / 0.9019 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.9577, allocations: 1.163 MB / 0.903 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003163/0.958, allocations: 60 kB / 0.9031 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.9631, allocations: 1.559 MB / 0.9046 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008314/0.964, allocations: 450.4 kB / 0.9051 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.9651, allocations: 408.8 kB / 0.9054 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.9707, allocations: 2.938 MB / 0.9083 GB, free: 64 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.9708, allocations: 0 / 0.9083 GB, free: 64 kB / 0.6544 GB Notification: Performance of FrontEnd: time 5.34e-06/0.9708, allocations: 0 / 0.9083 GB, free: 64 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001269/0.9709, allocations: 3.938 kB / 0.9083 GB, free: 60 kB / 0.6544 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.006256/0.9772, allocations: 1.978 MB / 0.9103 GB, free: 14.01 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.9773, allocations: 8.031 kB / 0.9103 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/0.981, allocations: 0.5754 MB / 0.9108 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.9854, allocations: 1.761 MB / 0.9125 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000669/0.9861, allocations: 214 kB / 0.9127 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/0.9865, allocations: 104 kB / 0.9128 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.9897, allocations: 1.355 MB / 0.9142 GB, free: 9.832 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.9898, allocations: 7.938 kB / 0.9142 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.99, allocations: 47.98 kB / 0.9142 GB, free: 9.777 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.99, allocations: 38 kB / 0.9143 GB, free: 9.738 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.9928, allocations: 1.034 MB / 0.9153 GB, free: 8.703 MB / 0.67 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.009734/1.003, allocations: 6.782 MB / 0.9219 GB, free: 1.539 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/1.004, allocations: 380.6 kB / 0.9223 GB, free: 1.164 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/1.004, allocations: 124.8 kB / 0.9224 GB, free: 1.039 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/1.005, allocations: 194.1 kB / 0.9226 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/1.005, allocations: 34.56 kB / 0.9226 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007104/1.005, allocations: 82.95 kB / 0.9227 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 4.058e-06/1.005, allocations: 0 / 0.9227 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001673/1.007, allocations: 0.5172 MB / 0.9232 GB, free: 168 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/1.007, allocations: 59.28 kB / 0.9232 GB, free: 96 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/1.01, allocations: 1.659 MB / 0.9249 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/1.01, allocations: 37.7 kB / 0.9249 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/1.011, allocations: 0.805 MB / 0.9257 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/1.011, allocations: 75 kB / 0.9257 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/1.011, allocations: 12 kB / 0.9258 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.012, allocations: 337.9 kB / 0.9261 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/1.012, allocations: 337.4 kB / 0.9264 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.014, allocations: 0.6628 MB / 0.927 GB, free: 12 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/1.015, allocations: 445.4 kB / 0.9275 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.015, allocations: 4 kB / 0.9275 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002588/1.017, allocations: 1.154 MB / 0.9286 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003391/1.018, allocations: 443.7 kB / 0.929 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.018, allocations: 11.94 kB / 0.929 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/1.018, allocations: 16 kB / 0.9291 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/1.018, allocations: 183.8 kB / 0.9292 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/1.018, allocations: 15.94 kB / 0.9292 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.02, allocations: 187.6 kB / 0.9294 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/1.02, allocations: 51.92 kB / 0.9295 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/1.02, allocations: 4 kB / 0.9295 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002056/1.022, allocations: 1.071 MB / 0.9305 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.022, allocations: 12 kB / 0.9305 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.022, allocations: 20.91 kB / 0.9306 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/1.023, allocations: 167.7 kB / 0.9307 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/1.023, allocations: 23.92 kB / 0.9307 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.024, allocations: 127.8 kB / 0.9309 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.024, allocations: 51.98 kB / 0.9309 GB, free: 7.875 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009492/1.025, allocations: 0.4891 MB / 0.9314 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/1.026, allocations: 154.1 kB / 0.9315 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/1.027, allocations: 428.2 kB / 0.9319 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/1.027, allocations: 0 / 0.9319 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.027, allocations: 0 / 0.9319 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/1.027, allocations: 7.922 kB / 0.9319 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/1.03, allocations: 1.477 MB / 0.9334 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.03, allocations: 4 kB / 0.9334 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/1.03, allocations: 52.2 kB / 0.9334 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.03, allocations: 4 kB / 0.9334 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/1.03, allocations: 11.98 kB / 0.9335 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.03, allocations: 7.938 kB / 0.9335 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.03, allocations: 0 / 0.9335 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/1.031, allocations: 0.5581 MB / 0.934 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/1.032, allocations: 271 kB / 0.9343 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/1.032, allocations: 8 kB / 0.9343 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/1.033, allocations: 79.88 kB / 0.9344 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/1.033, allocations: 15.94 kB / 0.9344 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/1.033, allocations: 19.92 kB / 0.9344 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002045/1.035, allocations: 1.149 MB / 0.9355 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.035, allocations: 0 / 0.9355 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002504/1.038, allocations: 0.6785 MB / 0.9362 GB, free: 2.324 MB / 0.6856 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.001056/1.039, allocations: 346.6 kB / 0.9365 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003154/1.042, allocations: 1.697 MB / 0.9382 GB, free: 280 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.042, allocations: 3.984 kB / 0.9382 GB, free: 276 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/1.042, allocations: 129.1 kB / 0.9383 GB, free: 148 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.046, allocations: 0.787 MB / 0.9391 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/1.052, allocations: 2.641 MB / 0.9416 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.053, allocations: 1.263 MB / 0.9429 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00174/1.055, allocations: 309 kB / 0.9432 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/1.055, allocations: 99.42 kB / 0.9433 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/1.055, allocations: 0 / 0.9433 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of Templates: time 0.3926/1.448, allocations: 28.34 MB / 0.9709 GB, free: 283.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: