Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5626/0.5626, allocations: 95.61 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001212/0.001212, allocations: 162.3 kB / 134.2 MB, free: 2.27 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.579/1.579, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00182/0.00182, allocations: 115.3 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 61.53 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.16/15.31, allocations: 5.582 GB / 6.094 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/15.31, allocations: 95.44 kB / 6.094 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.507/18.82, allocations: 0.9515 GB / 7.046 GB, free: 12.85 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.254e-06/18.82, allocations: 0 / 7.046 GB, free: 12.85 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001686/18.82, allocations: 55.98 kB / 7.046 GB, free: 12.8 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.00871/18.83, allocations: 3.026 MB / 7.049 GB, free: 9.703 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/18.83, allocations: 15.98 kB / 7.049 GB, free: 9.688 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/18.83, allocations: 277.2 kB / 7.049 GB, free: 9.414 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5087/19.34, allocations: 28.32 MB / 7.077 GB, free: 52.55 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/19.34, allocations: 112.9 kB / 7.077 GB, free: 52.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/19.34, allocations: 144.2 kB / 7.077 GB, free: 52.54 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/19.34, allocations: 1.629 MB / 7.079 GB, free: 52.37 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/19.34, allocations: 5.188 kB / 7.079 GB, free: 52.37 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/19.34, allocations: 65.34 kB / 7.079 GB, free: 52.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/19.34, allocations: 57.2 kB / 7.079 GB, free: 52.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/19.35, allocations: 1.406 MB / 7.08 GB, free: 52.34 MB / 0.573 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.01099/19.36, allocations: 6.444 MB / 7.087 GB, free: 49.85 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/19.36, allocations: 0.9284 MB / 7.087 GB, free: 49.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/19.36, allocations: 446.5 kB / 7.088 GB, free: 49.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/19.36, allocations: 51.64 kB / 7.088 GB, free: 49.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=81): time 3.867e-06/19.36, allocations: 0 / 7.088 GB, free: 49.3 MB / 0.573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: hex.vol2.dynBal.medium.Xi[1] 2: hex.vol2.dynBal.medium.T 3: hex.vol2.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=91): time 0.01975/19.38, allocations: 5.484 MB / 7.093 GB, free: 47.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/19.38, allocations: 121.5 kB / 7.093 GB, free: 47.84 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/19.38, allocations: 1.422 MB / 7.095 GB, free: 47.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/19.38, allocations: 50.23 kB / 7.095 GB, free: 47.65 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/19.38, allocations: 0.8607 MB / 7.096 GB, free: 47.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/19.38, allocations: 324.1 kB / 7.096 GB, free: 47.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/19.38, allocations: 25.31 kB / 7.096 GB, free: 47.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001073/19.38, allocations: 344.9 kB / 7.096 GB, free: 46.94 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/19.39, allocations: 446.8 kB / 7.097 GB, free: 46.94 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/19.39, allocations: 0.7499 MB / 7.098 GB, free: 46.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/19.39, allocations: 0.5709 MB / 7.098 GB, free: 46.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/19.39, allocations: 5.562 kB / 7.098 GB, free: 46.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003004/19.39, allocations: 1.535 MB / 7.1 GB, free: 46.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006246/19.39, allocations: 2.388 MB / 7.102 GB, free: 43.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/19.39, allocations: 7 kB / 7.102 GB, free: 43.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/19.39, allocations: 410.6 kB / 7.102 GB, free: 43.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/19.39, allocations: 264.1 kB / 7.103 GB, free: 43.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/19.4, allocations: 3.86 MB / 7.106 GB, free: 40.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/19.4, allocations: 136 kB / 7.106 GB, free: 40.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/19.4, allocations: 52.39 kB / 7.106 GB, free: 40.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/19.4, allocations: 3.875 kB / 7.107 GB, free: 40.34 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002812/19.4, allocations: 1.539 MB / 7.108 GB, free: 40.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/19.4, allocations: 8.375 kB / 7.108 GB, free: 40.06 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/19.4, allocations: 227.7 kB / 7.108 GB, free: 40.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/19.4, allocations: 223.8 kB / 7.108 GB, free: 40.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/19.41, allocations: 5.097 MB / 7.113 GB, free: 35.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/19.41, allocations: 128 kB / 7.114 GB, free: 35.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/19.41, allocations: 49.94 kB / 7.114 GB, free: 35.51 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (122): * Single equations (assignments): 116 * 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: 4 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001445/19.41, allocations: 0.4936 MB / 7.114 GB, free: 35.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007563/19.41, allocations: 181.8 kB / 7.114 GB, free: 35.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/19.41, allocations: 1.29 MB / 7.116 GB, free: 35.11 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/19.41, allocations: 6.438 kB / 7.116 GB, free: 35.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/19.41, allocations: 7.078 kB / 7.116 GB, free: 35.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/19.42, allocations: 6.281 kB / 7.116 GB, free: 35.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/19.42, allocations: 2.759 MB / 7.118 GB, free: 34.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/19.42, allocations: 0 / 7.118 GB, free: 34.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/19.42, allocations: 205.5 kB / 7.118 GB, free: 34.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/19.43, allocations: 437.8 kB / 7.119 GB, free: 34.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/19.43, allocations: 24.84 kB / 7.119 GB, free: 34.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/19.43, allocations: 2.897 MB / 7.122 GB, free: 32.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/19.43, allocations: 0 / 7.122 GB, free: 32.04 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/19.43, allocations: 1.814 MB / 7.123 GB, free: 31.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/19.43, allocations: 391.2 kB / 7.124 GB, free: 31.56 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005066/19.43, allocations: 24.59 kB / 7.124 GB, free: 31.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/19.43, allocations: 110.5 kB / 7.124 GB, free: 31.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/19.43, allocations: 60.86 kB / 7.124 GB, free: 31.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/19.43, allocations: 50.59 kB / 7.124 GB, free: 31.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001911/19.44, allocations: 1.102 MB / 7.125 GB, free: 31.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.613e-06/19.44, allocations: 0 / 7.125 GB, free: 31.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005557/19.44, allocations: 1.309 MB / 7.126 GB, free: 31.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.vol1.dynBal.medium.T,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 (83): * Single equations (assignments): 78 * 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: 4 * 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: 4 {1 3,1 6,1 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005008/19.45, allocations: 2.014 MB / 7.128 GB, free: 31.05 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Thermal/HeatTransfer.mo:287:7-288:33:writable] Warning: Variable hex.mas.T has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004811/19.45, allocations: 2.396 MB / 7.131 GB, free: 30.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/19.45, allocations: 4.594 kB / 7.131 GB, free: 30.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/19.45, allocations: 0.5588 MB / 7.131 GB, free: 30.44 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/19.46, allocations: 0.8789 MB / 7.132 GB, free: 30.43 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/19.47, allocations: 3.821 MB / 7.136 GB, free: 28.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/19.47, allocations: 1.437 MB / 7.137 GB, free: 28.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003859/19.48, allocations: 435.2 kB / 7.138 GB, free: 28.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/19.48, allocations: 133.8 kB / 7.138 GB, free: 28.07 MB / 0.573 GB Notification: Performance of SimCode: time 3.146e-06/19.48, allocations: 1.875 kB / 7.138 GB, free: 28.07 MB / 0.573 GB Notification: Performance of Templates: time 0.09611/19.57, allocations: 57.53 MB / 7.194 GB, free: 24.83 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)