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.7014/0.7014, allocations: 132.3 MB / 144.9 MB, free: 10.53 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.001066/0.001066, allocations: 170.6 kB / 176.9 MB, free: 2.305 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.3/1.3, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001534/0.001535, allocations: 115.2 kB / 450 MB, free: 5.844 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.4681/0.4681, allocations: 73.39 MB / 0.6736 GB, free: 47.64 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.602/6.07, allocations: 2.392 GB / 3.065 GB, free: 207 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/6.071, allocations: 94.59 kB / 3.065 GB, free: 207 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.932/10, allocations: 1.085 GB / 4.151 GB, free: 61.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.222e-06/10, allocations: 0 / 4.151 GB, free: 61.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001629/10, allocations: 52 kB / 4.151 GB, free: 61.59 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.004939/10.01, allocations: 2.169 MB / 4.153 GB, free: 60.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/10.01, allocations: 12.47 kB / 4.153 GB, free: 60.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/10.01, allocations: 394.5 kB / 4.153 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/10.03, allocations: 8.002 MB / 4.161 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/10.03, allocations: 112.5 kB / 4.161 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/10.03, allocations: 150.6 kB / 4.161 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/10.03, allocations: 1.646 MB / 4.163 GB, free: 59.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/10.03, allocations: 7.125 kB / 4.163 GB, free: 59.47 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/10.03, allocations: 63.81 kB / 4.163 GB, free: 59.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/10.03, allocations: 59.16 kB / 4.163 GB, free: 59.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/10.03, allocations: 1.244 MB / 4.164 GB, free: 59.43 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.007992/10.04, allocations: 6.806 MB / 4.171 GB, free: 55.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/10.04, allocations: 1.014 MB / 4.172 GB, free: 55.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/10.04, allocations: 417.7 kB / 4.172 GB, free: 55.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/10.04, allocations: 102.5 kB / 4.172 GB, free: 55.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/10.04, allocations: 51.52 kB / 4.172 GB, free: 55.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 3.687e-06/10.04, allocations: 0 / 4.172 GB, free: 55.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.004778/10.05, allocations: 1.328 MB / 4.174 GB, free: 55.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/10.05, allocations: 114.2 kB / 4.174 GB, free: 55.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/10.05, allocations: 1.21 MB / 4.175 GB, free: 55.03 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/10.05, allocations: 50.67 kB / 4.175 GB, free: 55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/10.05, allocations: 0.8213 MB / 4.176 GB, free: 54.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/10.05, allocations: 285.8 kB / 4.176 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/10.05, allocations: 20.78 kB / 4.176 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001095/10.05, allocations: 338.4 kB / 4.176 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/10.05, allocations: 320.4 kB / 4.177 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/10.05, allocations: 0.644 MB / 4.177 GB, free: 53.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/10.05, allocations: 441.6 kB / 4.178 GB, free: 53.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/10.05, allocations: 3.562 kB / 4.178 GB, free: 53.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002978/10.06, allocations: 1.316 MB / 4.179 GB, free: 53.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004644/10.06, allocations: 2.024 MB / 4.181 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/10.06, allocations: 3.562 kB / 4.181 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/10.06, allocations: 116.4 kB / 4.181 GB, free: 51.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/10.06, allocations: 0.624 MB / 4.182 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/10.06, allocations: 3.072 MB / 4.185 GB, free: 48.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/10.06, allocations: 250.6 kB / 4.185 GB, free: 48.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/10.06, allocations: 39.47 kB / 4.185 GB, free: 48.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/10.06, allocations: 3.938 kB / 4.185 GB, free: 48.56 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001452/10.07, allocations: 0.9364 MB / 4.186 GB, free: 48.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/10.07, allocations: 3.531 kB / 4.186 GB, free: 48.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/10.07, allocations: 75.02 kB / 4.186 GB, free: 48.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/10.07, allocations: 221.9 kB / 4.186 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/10.07, allocations: 3.517 MB / 4.19 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/10.07, allocations: 209.8 kB / 4.19 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/10.07, allocations: 33.53 kB / 4.19 GB, free: 45.09 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" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005029/10.07, allocations: 172 kB / 4.19 GB, free: 44.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/10.07, allocations: 166 kB / 4.19 GB, free: 44.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/10.08, allocations: 1.167 MB / 4.191 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/10.08, allocations: 12.53 kB / 4.191 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/10.08, allocations: 0 / 4.191 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002313/10.08, allocations: 1.26 MB / 4.193 GB, free: 44.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006455/10.08, allocations: 2.905 MB / 4.196 GB, free: 43.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/10.08, allocations: 3.188 kB / 4.196 GB, free: 43.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/10.09, allocations: 0.5953 MB / 4.196 GB, free: 43.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/10.09, allocations: 129.6 kB / 4.196 GB, free: 43.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/10.09, allocations: 20.66 kB / 4.196 GB, free: 43.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007283/10.1, allocations: 6.785 MB / 4.203 GB, free: 37.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/10.1, allocations: 11.14 kB / 4.203 GB, free: 37.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/10.1, allocations: 1.864 MB / 4.205 GB, free: 37.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/10.1, allocations: 371.2 kB / 4.205 GB, free: 36.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/10.1, allocations: 16.94 kB / 4.205 GB, free: 36.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/10.1, allocations: 168.4 kB / 4.205 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/10.1, allocations: 58.03 kB / 4.205 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.594e-05/10.1, allocations: 42.36 kB / 4.205 GB, free: 36.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001559/10.1, allocations: 0.9397 MB / 4.206 GB, free: 36.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/10.1, allocations: 0 / 4.206 GB, free: 36.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004048/10.11, allocations: 1.113 MB / 4.207 GB, free: 36.58 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 () * 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.003532/10.11, allocations: 2.079 MB / 4.209 GB, free: 35.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005134/10.12, allocations: 2.1 MB / 4.211 GB, free: 35.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/10.12, allocations: 1.75 kB / 4.211 GB, free: 35.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/10.12, allocations: 1.36 MB / 4.213 GB, free: 34.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/10.13, allocations: 0.9226 MB / 4.214 GB, free: 34.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/10.13, allocations: 2.491 MB / 4.216 GB, free: 33.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/10.13, allocations: 1.411 MB / 4.217 GB, free: 33.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002276/10.13, allocations: 0.5227 MB / 4.218 GB, free: 33.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/10.13, allocations: 86.66 kB / 4.218 GB, free: 33.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/10.13, allocations: 0 / 4.218 GB, free: 33.13 MB / 0.6511 GB Notification: Performance of Templates: time 0.08103/10.21, allocations: 63.73 MB / 4.28 GB, free: 1.539 MB / 0.6667 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)