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.1856/0.1864, allocations: 82.21 MB / 0.5941 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven): time 0.7451/0.9315, allocations: 306 MB / 0.8929 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04629/0.9779, allocations: 29.85 MB / 0.922 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005057/0.983, allocations: 75.56 kB / 0.9221 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005621/0.9887, allocations: 1.232 MB / 0.9233 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.9988, allocations: 2.81 MB / 0.9261 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007627/1.006, allocations: 2.342 MB / 0.9283 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.017, allocations: 5.726 MB / 0.9339 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/1.021, allocations: 1.532 MB / 0.9354 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/1.026, allocations: 1.665 MB / 0.9371 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/1.03, allocations: 1.348 MB / 0.9384 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007186/1.031, allocations: 72 kB / 0.9384 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008713/1.04, allocations: 3.363 MB / 0.9417 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/1.041, allocations: 474.2 kB / 0.9422 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003061/1.044, allocations: 0.9538 MB / 0.9431 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.055, allocations: 4.529 MB / 0.9475 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.055, allocations: 0 / 0.9475 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.997e-06/1.055, allocations: 0 / 0.9475 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001686/1.056, allocations: 4 kB / 0.9475 GB, free: 7.805 MB / 0.7012 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.006622/1.062, allocations: 2.108 MB / 0.9496 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/1.062, allocations: 12.03 kB / 0.9496 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/1.068, allocations: 0.8093 MB / 0.9504 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/1.072, allocations: 1.908 MB / 0.9523 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007519/1.073, allocations: 234.4 kB / 0.9525 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/1.074, allocations: 128 kB / 0.9526 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/1.079, allocations: 1.685 MB / 0.9543 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/1.079, allocations: 7.938 kB / 0.9543 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.079, allocations: 52 kB / 0.9543 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/1.079, allocations: 42.47 kB / 0.9544 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/1.083, allocations: 1.548 MB / 0.9559 GB, free: 15.08 MB / 0.7169 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.01259/1.096, allocations: 7.402 MB / 0.9631 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/1.1, allocations: 1.216 MB / 0.9643 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.102, allocations: 449.6 kB / 0.9647 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/1.102, allocations: 190.2 kB / 0.9649 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.102, allocations: 38.56 kB / 0.9649 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001103/1.103, allocations: 166.8 kB / 0.9651 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=38): time 6.382e-06/1.103, allocations: 0 / 0.9651 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=38): time 0.005024/1.108, allocations: 1.393 MB / 0.9664 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.109, allocations: 55.52 kB / 0.9665 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/1.112, allocations: 1.541 MB / 0.968 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.112, allocations: 37.7 kB / 0.968 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/1.113, allocations: 0.8063 MB / 0.9688 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/1.113, allocations: 138.1 kB / 0.969 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.113, allocations: 57.69 kB / 0.969 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.113, allocations: 337.8 kB / 0.9693 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/1.115, allocations: 0.4931 MB / 0.9698 GB, free: 132 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3898/1.505, allocations: 0.6784 MB / 0.9705 GB, free: 285.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/1.508, allocations: 1.074 MB / 0.9715 GB, free: 285.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.508, allocations: 1.031 kB / 0.9715 GB, free: 285.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003959/1.512, allocations: 1.372 MB / 0.9729 GB, free: 285.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.512, allocations: 276.5 kB / 0.9731 GB, free: 284.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.512, allocations: 9.328 kB / 0.9731 GB, free: 284.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/1.512, allocations: 9.469 kB / 0.9732 GB, free: 284.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/1.515, allocations: 432.7 kB / 0.9736 GB, free: 284.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/1.517, allocations: 1.706 MB / 0.9752 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.519, allocations: 197.5 kB / 0.9754 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.519, allocations: 43.62 kB / 0.9755 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/1.519, allocations: 5.062 kB / 0.9755 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002776/1.522, allocations: 1.245 MB / 0.9767 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.522, allocations: 2.531 kB / 0.9767 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.522, allocations: 8.344 kB / 0.9767 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/1.523, allocations: 195.5 kB / 0.9769 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.523, allocations: 10.66 kB / 0.9769 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.524, allocations: 177.1 kB / 0.9771 GB, free: 283.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/1.525, allocations: 45 kB / 0.9771 GB, free: 283.4 MB / 0.7169 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009626/1.526, allocations: 0.5042 MB / 0.9776 GB, free: 283.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/1.526, allocations: 150.1 kB / 0.9777 GB, free: 283.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/1.529, allocations: 1.024 MB / 0.9787 GB, free: 283.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.529, allocations: 2.844 kB / 0.9787 GB, free: 283.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.529, allocations: 6.719 kB / 0.9787 GB, free: 283.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.529, allocations: 8.344 kB / 0.9788 GB, free: 283.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/1.536, allocations: 2.571 MB / 0.9813 GB, free: 282.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.536, allocations: 2.5 kB / 0.9813 GB, free: 282.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/1.538, allocations: 371.9 kB / 0.9816 GB, free: 282.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.538, allocations: 6.719 kB / 0.9816 GB, free: 282.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/1.538, allocations: 17.58 kB / 0.9816 GB, free: 282.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/1.54, allocations: 1.65 MB / 0.9833 GB, free: 281.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.54, allocations: 3.938 kB / 0.9833 GB, free: 281.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/1.544, allocations: 1.099 MB / 0.9843 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/1.544, allocations: 312.5 kB / 0.9846 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/1.545, allocations: 8.578 kB / 0.9846 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.546, allocations: 149.9 kB / 0.9848 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.546, allocations: 40.28 kB / 0.9848 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/1.546, allocations: 18.58 kB / 0.9848 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002654/1.549, allocations: 1.078 MB / 0.9859 GB, free: 280.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/1.549, allocations: 0 / 0.9859 GB, free: 280.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003733/1.553, allocations: 0.7724 MB / 0.9866 GB, free: 280.8 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/1.554, allocations: 335.9 kB / 0.987 GB, free: 280.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007581/1.562, allocations: 2.453 MB / 0.9894 GB, free: 279.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.562, allocations: 0 / 0.9894 GB, free: 279.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00425/1.566, allocations: 0.8123 MB / 0.9902 GB, free: 279.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005542/1.572, allocations: 0.8802 MB / 0.991 GB, free: 279.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/1.582, allocations: 3.605 MB / 0.9945 GB, free: 277.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.583, allocations: 1.314 MB / 0.9958 GB, free: 276.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002555/1.586, allocations: 337.6 kB / 0.9961 GB, free: 276.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.586, allocations: 115 kB / 0.9962 GB, free: 276.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.382e-06/1.586, allocations: 0 / 0.9962 GB, free: 276.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.05247/1.639, allocations: 33.4 MB / 1.029 GB, free: 248.9 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: