Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.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.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven") [/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.1554/0.1561, allocations: 82.22 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven): time 0.6323/0.7884, allocations: 285.3 MB / 0.8721 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03618/0.8246, allocations: 27.61 MB / 0.8991 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/0.829, allocations: 71.56 kB / 0.8991 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00439/0.8334, allocations: 0.9199 MB / 0.9 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007348/0.8408, allocations: 2.174 MB / 0.9021 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00573/0.8466, allocations: 1.701 MB / 0.9038 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008197/0.8548, allocations: 4.882 MB / 0.9086 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.8577, allocations: 1.312 MB / 0.9099 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.8618, allocations: 1.587 MB / 0.9114 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.8643, allocations: 1.28 MB / 0.9127 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.8646, allocations: 68 kB / 0.9127 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.8695, allocations: 1.91 MB / 0.9146 GB, free: 9.449 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.8702, allocations: 470.2 kB / 0.915 GB, free: 8.988 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008322/0.8711, allocations: 436.8 kB / 0.9155 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.8758, allocations: 3.293 MB / 0.9187 GB, free: 5.254 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8758, allocations: 0 / 0.9187 GB, free: 5.254 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8758, allocations: 0 / 0.9187 GB, free: 5.254 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.185e-05/0.8759, allocations: 4 kB / 0.9187 GB, free: 5.25 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003613/0.8795, allocations: 2.136 MB / 0.9208 GB, free: 3.047 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8795, allocations: 8.031 kB / 0.9208 GB, free: 3.039 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.8841, allocations: 0.8132 MB / 0.9216 GB, free: 2.223 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/0.8877, allocations: 1.855 MB / 0.9234 GB, free: 320 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000591/0.8883, allocations: 238.3 kB / 0.9236 GB, free: 80 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.8885, allocations: 128 kB / 0.9237 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.8922, allocations: 1.669 MB / 0.9254 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.8922, allocations: 4 kB / 0.9254 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.8923, allocations: 55.98 kB / 0.9254 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.8924, allocations: 42.47 kB / 0.9254 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/0.8964, allocations: 1.532 MB / 0.9269 GB, free: 12.58 MB / 0.6856 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.01031/0.9067, allocations: 7.395 MB / 0.9342 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.9105, allocations: 1.224 MB / 0.9354 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.9117, allocations: 447 kB / 0.9358 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/0.912, allocations: 194.3 kB / 0.936 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.9121, allocations: 42.5 kB / 0.936 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008594/0.9129, allocations: 154.9 kB / 0.9362 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=38): time 2.846e-06/0.9129, allocations: 0 / 0.9362 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of matching and sorting (n=38): time 0.004179/0.9171, allocations: 1.389 MB / 0.9375 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.9172, allocations: 63.33 kB / 0.9376 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.9194, allocations: 1.526 MB / 0.9391 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/0.9195, allocations: 33.7 kB / 0.9391 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/0.9203, allocations: 0.8024 MB / 0.9399 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.9204, allocations: 138 kB / 0.94 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.9205, allocations: 12 kB / 0.94 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9206, allocations: 326 kB / 0.9403 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.9219, allocations: 496.9 kB / 0.9408 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.9233, allocations: 0.6896 MB / 0.9415 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.9247, allocations: 0.5502 MB / 0.942 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9248, allocations: 0 / 0.942 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003128/0.9279, allocations: 1.363 MB / 0.9434 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.9281, allocations: 267.4 kB / 0.9436 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9281, allocations: 8 kB / 0.9436 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9281, allocations: 8 kB / 0.9436 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.9304, allocations: 431.5 kB / 0.944 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.9328, allocations: 1.704 MB / 0.9457 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.9345, allocations: 199.7 kB / 0.9459 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.9346, allocations: 43.98 kB / 0.9459 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.9346, allocations: 4.625 kB / 0.9459 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002752/0.9374, allocations: 1.245 MB / 0.9472 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.9374, allocations: 4 kB / 0.9472 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.9374, allocations: 16.23 kB / 0.9472 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.9383, allocations: 191.7 kB / 0.9474 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.9383, allocations: 4.703 kB / 0.9474 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.9398, allocations: 179.7 kB / 0.9475 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.9398, allocations: 35.98 kB / 0.9476 GB, free: 6.5 MB / 0.7012 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000925/0.9408, allocations: 0.5095 MB / 0.9481 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.941, allocations: 154 kB / 0.9482 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.9437, allocations: 1.028 MB / 0.9492 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.9438, allocations: 4 kB / 0.9492 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.9438, allocations: 0 / 0.9492 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.9438, allocations: 3.938 kB / 0.9492 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/0.9495, allocations: 2.574 MB / 0.9517 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.9495, allocations: 8.031 kB / 0.9517 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.9514, allocations: 367.6 kB / 0.9521 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.9515, allocations: 4 kB / 0.9521 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.9515, allocations: 11.98 kB / 0.9521 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.9537, allocations: 1.661 MB / 0.9537 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9537, allocations: 7.953 kB / 0.9537 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.9563, allocations: 1.098 MB / 0.9548 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.9569, allocations: 311 kB / 0.9551 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.9571, allocations: 4 kB / 0.9551 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.9581, allocations: 155.8 kB / 0.9553 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.9582, allocations: 27.92 kB / 0.9553 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.9582, allocations: 15.98 kB / 0.9553 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001667/0.9599, allocations: 1.067 MB / 0.9563 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.823e-06/0.9599, allocations: 0 / 0.9563 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002391/0.9623, allocations: 0.7755 MB / 0.9571 GB, free: 12.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/0.9632, allocations: 337.8 kB / 0.9574 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005756/0.969, allocations: 2.44 MB / 0.9598 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.969, allocations: 0 / 0.9598 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.9723, allocations: 0.8125 MB / 0.9606 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/0.9761, allocations: 0.8829 MB / 0.9615 GB, free: 8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.9838, allocations: 3.475 MB / 0.9649 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.9849, allocations: 1.316 MB / 0.9661 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001923/0.9868, allocations: 341.6 kB / 0.9665 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.9872, allocations: 119.4 kB / 0.9666 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of SimCode: time 8.72e-07/0.9872, allocations: 3.938 kB / 0.9666 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.3788/1.366, allocations: 32.53 MB / 0.9984 GB, free: 271.6 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe 2>&1) Environment - environmentSimulation: