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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7684/0.7684, allocations: 133.7 MB / 148.6 MB, free: 13.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001111/0.001111, allocations: 176.1 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.638/1.638, allocations: 170.7 MB / 383.7 MB, free: 16.3 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00164/0.00164, allocations: 123.8 kB / 454.6 MB, free: 9.879 MB / 346.7 MB [/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.1984/0.1989, allocations: 73.41 MB / 0.6812 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/6.561, allocations: 2.392 GB / 3.073 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/6.561, allocations: 98.72 kB / 3.073 GB, free: 54.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659/11.22, allocations: 1.087 GB / 4.16 GB, free: 63.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.514e-06/11.22, allocations: 0 / 4.16 GB, free: 63.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004669/11.22, allocations: 60.47 kB / 4.16 GB, free: 63.58 MB / 0.6511 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.01283/11.23, allocations: 2.464 MB / 4.163 GB, free: 62.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/11.23, allocations: 9.719 kB / 4.163 GB, free: 62.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/11.24, allocations: 397.6 kB / 4.163 GB, free: 62.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02538/11.26, allocations: 8.076 MB / 4.171 GB, free: 61.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/11.26, allocations: 111.6 kB / 4.171 GB, free: 61.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000974/11.27, allocations: 146.4 kB / 4.171 GB, free: 61.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/11.27, allocations: 1.766 MB / 4.173 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/11.27, allocations: 2.344 kB / 4.173 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000596/11.27, allocations: 60.06 kB / 4.173 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/11.27, allocations: 63.89 kB / 4.173 GB, free: 61.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004809/11.28, allocations: 1.399 MB / 4.174 GB, free: 61.52 MB / 0.6511 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.01238/11.29, allocations: 6.8 MB / 4.181 GB, free: 57.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/11.29, allocations: 1.114 MB / 4.182 GB, free: 57.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/11.29, allocations: 99.97 kB / 4.182 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/11.29, allocations: 55.66 kB / 4.182 GB, free: 57.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 6.312e-06/11.29, allocations: 0 / 4.182 GB, free: 57.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.008162/11.3, allocations: 2.053 MB / 4.184 GB, free: 57.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/11.3, allocations: 122.1 kB / 4.184 GB, free: 57.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/11.31, allocations: 1.229 MB / 4.186 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000316/11.31, allocations: 45.23 kB / 4.186 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/11.31, allocations: 0.8156 MB / 4.187 GB, free: 56.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/11.31, allocations: 292.6 kB / 4.187 GB, free: 56.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/11.31, allocations: 17.25 kB / 4.187 GB, free: 56.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001327/11.31, allocations: 346.3 kB / 4.187 GB, free: 56.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000897/11.31, allocations: 414 kB / 4.188 GB, free: 56.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/11.31, allocations: 0.7458 MB / 4.188 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/11.31, allocations: 0.5341 MB / 4.189 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/11.31, allocations: 0 / 4.189 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004405/11.32, allocations: 1.558 MB / 4.19 GB, free: 55.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006465/11.32, allocations: 2.014 MB / 4.192 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/11.32, allocations: 3.688 kB / 4.192 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/11.32, allocations: 184.6 kB / 4.192 GB, free: 53.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/11.32, allocations: 0.6223 MB / 4.193 GB, free: 53.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/11.32, allocations: 3.232 MB / 4.196 GB, free: 50.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/11.33, allocations: 248 kB / 4.196 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/11.33, allocations: 41.77 kB / 4.196 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/11.33, allocations: 6.781 kB / 4.196 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001914/11.33, allocations: 1.025 MB / 4.197 GB, free: 50.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/11.33, allocations: 2.531 kB / 4.197 GB, free: 50.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/11.33, allocations: 67.25 kB / 4.198 GB, free: 50.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/11.33, allocations: 217.3 kB / 4.198 GB, free: 50.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/11.33, allocations: 3.501 MB / 4.201 GB, free: 47.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/11.33, allocations: 201 kB / 4.201 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/11.33, allocations: 34.97 kB / 4.201 GB, free: 47.25 MB / 0.6511 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.1506650354665494 * 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: 22 * 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 (110): * Single equations (assignments): 104 * Array equations: 0 * 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.002117/11.34, allocations: 0.4898 MB / 4.202 GB, free: 47.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009573/11.34, allocations: 171.8 kB / 4.202 GB, free: 46.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/11.34, allocations: 1.38 MB / 4.203 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/11.34, allocations: 20.31 kB / 4.203 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/11.34, allocations: 0 / 4.203 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003458/11.35, allocations: 1.485 MB / 4.205 GB, free: 46.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008018/11.35, allocations: 3.048 MB / 4.208 GB, free: 45.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/11.35, allocations: 5.969 kB / 4.208 GB, free: 45.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003434/11.36, allocations: 0.5891 MB / 4.208 GB, free: 45.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006503/11.36, allocations: 209.1 kB / 4.209 GB, free: 45.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/11.36, allocations: 21.73 kB / 4.209 GB, free: 45.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/11.37, allocations: 7.473 MB / 4.216 GB, free: 39.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/11.37, allocations: 0 / 4.216 GB, free: 39.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0072/11.38, allocations: 2.206 MB / 4.218 GB, free: 39.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/11.38, allocations: 363.6 kB / 4.218 GB, free: 39.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/11.38, allocations: 24.06 kB / 4.218 GB, free: 39.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/11.38, allocations: 157.8 kB / 4.219 GB, free: 39.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005276/11.38, allocations: 67.3 kB / 4.219 GB, free: 39.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/11.38, allocations: 44.47 kB / 4.219 GB, free: 39.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003092/11.39, allocations: 0.9453 MB / 4.22 GB, free: 39.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/11.39, allocations: 1.906 kB / 4.22 GB, free: 39.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006854/11.39, allocations: 1.118 MB / 4.221 GB, free: 38.91 MB / 0.6511 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.004749/11.4, allocations: 2.072 MB / 4.223 GB, free: 38.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00783/11.41, allocations: 2.279 MB / 4.225 GB, free: 37.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/11.41, allocations: 10.72 kB / 4.225 GB, free: 37.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006415/11.41, allocations: 1.461 MB / 4.226 GB, free: 37.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006064/11.42, allocations: 0.931 MB / 4.227 GB, free: 37.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/11.43, allocations: 3.884 MB / 4.231 GB, free: 35.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/11.43, allocations: 1.408 MB / 4.233 GB, free: 34.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003194/11.43, allocations: 381 kB / 4.233 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/11.43, allocations: 118.3 kB / 4.233 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.894e-06/11.43, allocations: 4 kB / 4.233 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.1017/11.54, allocations: 55.97 MB / 4.288 GB, free: 26.71 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (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)