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.7807/0.7807, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.0009623/0.0009625, allocations: 169.5 kB / 171.8 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.607/1.607, allocations: 170.6 MB / 374.2 MB, free: 15.77 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.001895/0.001895, allocations: 115.2 kB / 444.8 MB, free: 9.281 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.5195/0.5196, allocations: 73.4 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.538/7.057, allocations: 2.391 GB / 3.058 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003776/7.058, allocations: 95.3 kB / 3.058 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.821/11.88, allocations: 1.075 GB / 4.133 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.324e-06/11.88, allocations: 0 / 4.133 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003503/11.88, allocations: 55.36 kB / 4.133 GB, free: 56.72 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.008301/11.89, allocations: 2.165 MB / 4.135 GB, free: 55.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/11.89, allocations: 8.062 kB / 4.135 GB, free: 55.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/11.89, allocations: 391.3 kB / 4.136 GB, free: 55.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/11.91, allocations: 7.983 MB / 4.144 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/11.91, allocations: 45.84 kB / 4.144 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006986/11.91, allocations: 86.53 kB / 4.144 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00327/11.92, allocations: 0.9971 MB / 4.145 GB, free: 54.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/11.92, allocations: 1.293 MB / 4.146 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.918e-05/11.92, allocations: 6.312 kB / 4.146 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/11.92, allocations: 0 / 4.146 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/11.92, allocations: 60.58 kB / 4.146 GB, free: 54.66 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.0116/11.93, allocations: 6.497 MB / 4.152 GB, free: 51.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/11.94, allocations: 0.8347 MB / 4.153 GB, free: 50.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/11.94, allocations: 397.6 kB / 4.154 GB, free: 50.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/11.94, allocations: 101.3 kB / 4.154 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/11.94, allocations: 41.44 kB / 4.154 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 3.467e-06/11.94, allocations: 0 / 4.154 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.008458/11.94, allocations: 2.401 MB / 4.156 GB, free: 50.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/11.94, allocations: 113.8 kB / 4.156 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/11.95, allocations: 0.9425 MB / 4.157 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/11.95, allocations: 29.61 kB / 4.157 GB, free: 49.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008584/11.95, allocations: 0.8308 MB / 4.158 GB, free: 49.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/11.95, allocations: 284.8 kB / 4.158 GB, free: 49.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/11.95, allocations: 0 / 4.158 GB, free: 49.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001274/11.95, allocations: 342.3 kB / 4.158 GB, free: 49.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/11.95, allocations: 300.6 kB / 4.159 GB, free: 49.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/11.95, allocations: 0.6377 MB / 4.159 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/11.95, allocations: 395.4 kB / 4.16 GB, free: 48.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/11.95, allocations: 3.875 kB / 4.16 GB, free: 48.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004309/11.96, allocations: 1.347 MB / 4.161 GB, free: 48.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009044/11.96, allocations: 2.166 MB / 4.163 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/11.96, allocations: 3.656 kB / 4.163 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/11.96, allocations: 157.9 kB / 4.163 GB, free: 46.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/11.96, allocations: 425.3 kB / 4.164 GB, free: 46.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/11.96, allocations: 1.895 MB / 4.166 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/11.96, allocations: 161.9 kB / 4.166 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/11.96, allocations: 35.53 kB / 4.166 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/11.96, allocations: 7 kB / 4.166 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/11.97, allocations: 0.8189 MB / 4.167 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/11.97, allocations: 10.14 kB / 4.167 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/11.97, allocations: 90.97 kB / 4.167 GB, free: 44.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/11.97, allocations: 196.2 kB / 4.167 GB, free: 44.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/11.97, allocations: 3.061 MB / 4.17 GB, free: 41.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/11.97, allocations: 133.4 kB / 4.17 GB, free: 41.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/11.97, allocations: 39.78 kB / 4.17 GB, free: 41.76 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (hex.vol2.i_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005627/11.97, allocations: 135.4 kB / 4.17 GB, free: 41.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007067/11.97, allocations: 146.1 kB / 4.17 GB, free: 41.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/11.98, allocations: 1.177 MB / 4.171 GB, free: 41.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/11.98, allocations: 10.31 kB / 4.171 GB, free: 41.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/11.98, allocations: 0 / 4.171 GB, free: 41.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003106/11.98, allocations: 1.308 MB / 4.173 GB, free: 40.95 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.008635/11.99, allocations: 2.893 MB / 4.176 GB, free: 40.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/11.99, allocations: 3.312 kB / 4.176 GB, free: 40.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/11.99, allocations: 384.1 kB / 4.176 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/11.99, allocations: 168.8 kB / 4.176 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/11.99, allocations: 17.47 kB / 4.176 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/12, allocations: 5.418 MB / 4.181 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/12, allocations: 7.844 kB / 4.181 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/12, allocations: 1.901 MB / 4.183 GB, free: 35.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/12, allocations: 336.5 kB / 4.184 GB, free: 35.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/12.01, allocations: 7.5 kB / 4.184 GB, free: 35.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/12.01, allocations: 149.5 kB / 4.184 GB, free: 35.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/12.01, allocations: 57.45 kB / 4.184 GB, free: 35.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/12.01, allocations: 55.38 kB / 4.184 GB, free: 35.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001829/12.01, allocations: 0.7145 MB / 4.185 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.9e-07/12.01, allocations: 0 / 4.185 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005994/12.02, allocations: 0.9012 MB / 4.185 GB, free: 34.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * 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: 3 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004777/12.02, allocations: 2.267 MB / 4.188 GB, free: 34.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004935/12.03, allocations: 1.821 MB / 4.189 GB, free: 33.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/12.03, allocations: 4.281 kB / 4.189 GB, free: 33.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/12.03, allocations: 0.9823 MB / 4.19 GB, free: 33.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/12.03, allocations: 0.8022 MB / 4.191 GB, free: 33.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/12.04, allocations: 2.365 MB / 4.193 GB, free: 32.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/12.04, allocations: 1.42 MB / 4.195 GB, free: 31.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003047/12.05, allocations: 459 kB / 4.195 GB, free: 31.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/12.05, allocations: 80.62 kB / 4.195 GB, free: 31.58 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/12.05, allocations: 4 kB / 4.195 GB, free: 31.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.07761/12.12, allocations: 43.28 MB / 4.238 GB, free: 13.07 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)