Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [/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.1973/0.198, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.6632/0.8613, allocations: 199.8 MB / 0.7885 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.8801, allocations: 10.75 MB / 0.799 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.8836, allocations: 63.34 kB / 0.7991 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.8879, allocations: 0.9897 MB / 0.8 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.8995, allocations: 2.872 MB / 0.8028 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005587/0.9051, allocations: 1.606 MB / 0.8044 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00794/0.9131, allocations: 3.246 MB / 0.8076 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.9157, allocations: 1.323 MB / 0.8089 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.9203, allocations: 1.621 MB / 0.8105 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.9225, allocations: 0.953 MB / 0.8114 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.9228, allocations: 75.09 kB / 0.8115 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.9269, allocations: 1.154 MB / 0.8126 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007162/0.9276, allocations: 0.4984 MB / 0.8131 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008704/0.9285, allocations: 468.6 kB / 0.8135 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.932, allocations: 2.625 MB / 0.8161 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.932, allocations: 0 / 0.8161 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.932, allocations: 0 / 0.8161 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.783e-05/0.9321, allocations: 0 / 0.8161 GB, free: 11.66 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.004609/0.9367, allocations: 2.19 MB / 0.8182 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.9368, allocations: 15.97 kB / 0.8182 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.9388, allocations: 401.1 kB / 0.8186 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.9419, allocations: 1.384 MB / 0.82 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.942, allocations: 118.7 kB / 0.8201 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.9423, allocations: 148 kB / 0.8202 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.9463, allocations: 1.845 MB / 0.822 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.9463, allocations: 3.938 kB / 0.822 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.9465, allocations: 60 kB / 0.8221 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/0.9465, allocations: 62.7 kB / 0.8221 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.95, allocations: 1.466 MB / 0.8236 GB, free: 3.785 MB / 0.5762 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.009397/0.9594, allocations: 7.085 MB / 0.8305 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.9622, allocations: 1.187 MB / 0.8317 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.9624, allocations: 97.73 kB / 0.8317 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.9625, allocations: 47.22 kB / 0.8318 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=81): time 3.125e-06/0.9625, allocations: 0 / 0.8318 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.008224/0.9707, allocations: 2.406 MB / 0.8341 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.9708, allocations: 119.5 kB / 0.8343 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.9729, allocations: 1.437 MB / 0.8357 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.9732, allocations: 49.7 kB / 0.8357 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007209/0.9739, allocations: 0.8218 MB / 0.8365 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.9742, allocations: 291.8 kB / 0.8368 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.9743, allocations: 20 kB / 0.8368 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9744, allocations: 341.9 kB / 0.8371 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009812/0.9754, allocations: 461.7 kB / 0.8376 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.9768, allocations: 0.8031 MB / 0.8384 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.9779, allocations: 0.5717 MB / 0.8389 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9779, allocations: 3.953 kB / 0.8389 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005405/0.9833, allocations: 1.892 MB / 0.8408 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009417/0.9843, allocations: 2.111 MB / 0.8428 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.9843, allocations: 4 kB / 0.8428 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.985, allocations: 249.5 kB / 0.8431 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/0.9883, allocations: 0.6633 MB / 0.8437 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.001, allocations: 8.288 MB / 0.8518 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.003, allocations: 294.4 kB / 0.8521 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/1.003, allocations: 40 kB / 0.8521 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.003, allocations: 4 kB / 0.8521 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/1.005, allocations: 1.085 MB / 0.8532 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.005, allocations: 7.938 kB / 0.8532 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/1.006, allocations: 78.09 kB / 0.8533 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/1.007, allocations: 235.7 kB / 0.8535 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/1.01, allocations: 3.552 MB / 0.857 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/1.012, allocations: 234.7 kB / 0.8572 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/1.012, allocations: 47.92 kB / 0.8572 GB, free: 15.39 MB / 0.6231 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = hex.vol1.V * hex.vol1.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (hex.vol2.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001279/1.014, allocations: 0.4905 MB / 0.8577 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/1.014, allocations: 166 kB / 0.8579 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/1.018, allocations: 1.539 MB / 0.8594 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.018, allocations: 8 kB / 0.8594 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.018, allocations: 0 / 0.8594 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003894/1.022, allocations: 1.646 MB / 0.861 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/1.03, allocations: 3.241 MB / 0.8642 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.03, allocations: 4.281 kB / 0.8642 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.033, allocations: 0.5931 MB / 0.8647 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/1.033, allocations: 262.6 kB / 0.865 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.232e-05/1.033, allocations: 19.98 kB / 0.865 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/1.045, allocations: 7.901 MB / 0.8727 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.045, allocations: 8 kB / 0.8727 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/1.051, allocations: 2.365 MB / 0.875 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.053, allocations: 386.8 kB / 0.8754 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005355/1.053, allocations: 20 kB / 0.8754 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.055, allocations: 167.6 kB / 0.8756 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.055, allocations: 60.56 kB / 0.8757 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.056, allocations: 43.91 kB / 0.8757 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002/1.058, allocations: 0.978 MB / 0.8766 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 0.8766 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003587/1.061, allocations: 0.986 MB / 0.8776 GB, free: 9.582 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (hex.vol1.dynBal.U,hex.vol1.dynBal.m,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000889/1.062, allocations: 335.8 kB / 0.8779 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007262/1.069, allocations: 2.705 MB / 0.8806 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.069, allocations: 448 / 0.8806 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005616/1.075, allocations: 1.52 MB / 0.8821 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/1.08, allocations: 0.9096 MB / 0.8829 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/1.087, allocations: 3.867 MB / 0.8867 GB, free: 116 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/1.089, allocations: 1.416 MB / 0.8881 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002037/1.091, allocations: 384.2 kB / 0.8885 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/1.091, allocations: 119.4 kB / 0.8886 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.475e-06/1.091, allocations: 0 / 0.8886 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.06497/1.156, allocations: 36.83 MB / 0.9246 GB, free: 9.707 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) Environment - environmentSimulation: