Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.776, allocations: 142.3 MB / 0.9535 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.246/1.022, allocations: 205.4 MB / 1.154 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01777/1.04, allocations: 11.11 MB / 1.165 GB, free: 7.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/1.043, allocations: 67.5 kB / 1.165 GB, free: 7.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/1.046, allocations: 0.9642 MB / 1.166 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/1.057, allocations: 3.076 MB / 1.169 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005901/1.063, allocations: 1.67 MB / 1.171 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00672/1.07, allocations: 2.751 MB / 1.173 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/1.072, allocations: 1.132 MB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/1.076, allocations: 1.448 MB / 1.176 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/1.077, allocations: 0.8244 MB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/1.077, allocations: 64 kB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/1.081, allocations: 1.162 MB / 1.178 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000533/1.082, allocations: 398.6 kB / 1.178 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006382/1.082, allocations: 396.8 kB / 1.179 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/1.085, allocations: 2.197 MB / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/1.085, allocations: 0 / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.735e-06/1.085, allocations: 0 / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.239e-05/1.085, allocations: 0 / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003802/1.089, allocations: 1.901 MB / 1.183 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.089, allocations: 8.031 kB / 1.183 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/1.091, allocations: 353.5 kB / 1.183 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/1.093, allocations: 1.258 MB / 1.184 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/1.093, allocations: 86.16 kB / 1.184 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.093, allocations: 120 kB / 1.184 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/1.096, allocations: 1.205 MB / 1.186 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/1.096, allocations: 4 kB / 1.186 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.096, allocations: 55.94 kB / 1.186 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/1.096, allocations: 42.14 kB / 1.186 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/1.097, allocations: 0.9687 MB / 1.187 GB, free: 0.793 MB / 0.9356 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.006995/1.104, allocations: 5.548 MB / 1.192 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.106, allocations: 0.8796 MB / 1.193 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/1.106, allocations: 438.1 kB / 1.193 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/1.106, allocations: 47.08 kB / 1.193 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 2.384e-06/1.106, allocations: 4 kB / 1.193 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.003476/1.11, allocations: 1.462 MB / 1.195 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.11, allocations: 55.97 kB / 1.195 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.111, allocations: 1.222 MB / 1.196 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/1.111, allocations: 41.7 kB / 1.196 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/1.112, allocations: 0.6811 MB / 1.197 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.112, allocations: 248.3 kB / 1.197 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/1.112, allocations: 16 kB / 1.197 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.112, allocations: 334 kB / 1.197 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/1.113, allocations: 305.8 kB / 1.198 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/1.114, allocations: 0.5085 MB / 1.198 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/1.114, allocations: 378.8 kB / 1.198 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.114, allocations: 0 / 1.198 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00218/1.116, allocations: 1.071 MB / 1.199 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003841/1.117, allocations: 1.075 MB / 1.201 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.117, allocations: 4 kB / 1.201 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008086/1.118, allocations: 153.5 kB / 1.201 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/1.118, allocations: 183.7 kB / 1.201 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/1.12, allocations: 1.761 MB / 1.203 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.121, allocations: 183.2 kB / 1.203 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/1.121, allocations: 36 kB / 1.203 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.121, allocations: 4 kB / 1.203 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/1.123, allocations: 0.8643 MB / 1.204 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.123, allocations: 4.016 kB / 1.204 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/1.123, allocations: 105.8 kB / 1.204 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/1.124, allocations: 155.8 kB / 1.204 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/1.126, allocations: 3.16 MB / 1.207 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.128, allocations: 171.2 kB / 1.207 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/1.128, allocations: 32.06 kB / 1.207 GB, free: 10.52 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007533/1.129, allocations: 447 kB / 1.208 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/1.129, allocations: 146.3 kB / 1.208 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/1.131, allocations: 0.9524 MB / 1.209 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.131, allocations: 8 kB / 1.209 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/1.131, allocations: 256 / 1.209 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/1.132, allocations: 1.071 MB / 1.21 GB, free: 7.777 MB / 0.9669 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 postOpt removeSimpleEquations (simulation): time 0.00435/1.137, allocations: 2.546 MB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.137, allocations: 7.953 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/1.137, allocations: 160.4 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/1.138, allocations: 93.58 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/1.138, allocations: 19.98 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/1.139, allocations: 1.745 MB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.139, allocations: 4 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/1.141, allocations: 1.612 MB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/1.142, allocations: 335.1 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.142, allocations: 23.95 kB / 1.216 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.143, allocations: 111.7 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.144, allocations: 52.48 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/1.144, allocations: 27.98 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001271/1.145, allocations: 0.8321 MB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/1.145, allocations: 0 / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00265/1.148, allocations: 0.8067 MB / 1.218 GB, free: 15.06 MB / 0.9825 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.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009044/1.148, allocations: 387 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.152, allocations: 1.471 MB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.152, allocations: 0 / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/1.152, allocations: 411.9 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/1.157, allocations: 0.7798 MB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/1.162, allocations: 3.277 MB / 1.224 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.163, allocations: 1.32 MB / 1.225 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001653/1.165, allocations: 349.6 kB / 1.226 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.165, allocations: 99.42 kB / 1.226 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/1.165, allocations: 0 / 1.226 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.5392/1.704, allocations: 27.5 MB / 1.253 GB, free: 281.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches