Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 176.7 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 87.91 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.76e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2734, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.377, allocations: 434.2 MB / 1.636 GB, free: 12.96 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.378, allocations: 100.7 kB / 1.636 GB, free: 12.9 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.338/3.715, allocations: 0.5645 GB / 2.201 GB, free: 267.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.464e-06/3.716, allocations: 0 / 2.201 GB, free: 267.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001278/3.716, allocations: 33.7 kB / 2.201 GB, free: 267.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003078/3.719, allocations: 1.409 MB / 2.202 GB, free: 266.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/3.719, allocations: 9.547 kB / 2.202 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/3.719, allocations: 152.3 kB / 2.202 GB, free: 266.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/3.722, allocations: 1.396 MB / 2.204 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/3.722, allocations: 27.69 kB / 2.204 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/3.722, allocations: 52.67 kB / 2.204 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/3.724, allocations: 0.5549 MB / 2.204 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/3.725, allocations: 0.7459 MB / 2.205 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/3.725, allocations: 4.844 kB / 2.205 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/3.725, allocations: 0.9375 kB / 2.205 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/3.725, allocations: 27.17 kB / 2.205 GB, free: 266.3 MB / 1.151 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.005157/3.73, allocations: 4.151 MB / 2.209 GB, free: 264.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/3.731, allocations: 0.4937 MB / 2.21 GB, free: 264.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/3.732, allocations: 300.5 kB / 2.21 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/3.732, allocations: 0.5945 MB / 2.211 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/3.732, allocations: 43.97 kB / 2.211 GB, free: 263.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.587e-06/3.732, allocations: 0 / 2.211 GB, free: 263.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001716/3.734, allocations: 0.6283 MB / 2.211 GB, free: 263.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/3.734, allocations: 58.39 kB / 2.211 GB, free: 263.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009983/3.735, allocations: 0.6998 MB / 2.212 GB, free: 263.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/3.735, allocations: 26.89 kB / 2.212 GB, free: 263.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/3.736, allocations: 0.5166 MB / 2.213 GB, free: 263 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/3.736, allocations: 199.3 kB / 2.213 GB, free: 262.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/3.736, allocations: 3.688 kB / 2.213 GB, free: 262.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/3.736, allocations: 332.9 kB / 2.213 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/3.736, allocations: 176.3 kB / 2.213 GB, free: 262.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/3.737, allocations: 358.1 kB / 2.214 GB, free: 262.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/3.737, allocations: 295.5 kB / 2.214 GB, free: 262.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/3.737, allocations: 0.875 kB / 2.214 GB, free: 262.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001559/3.739, allocations: 0.7907 MB / 2.215 GB, free: 262.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/3.739, allocations: 1.312 MB / 2.216 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/3.739, allocations: 4.547 kB / 2.216 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/3.74, allocations: 122.7 kB / 2.216 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/3.74, allocations: 131.2 kB / 2.216 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/3.743, allocations: 4.684 MB / 2.221 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/3.744, allocations: 91.91 kB / 2.221 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/3.744, allocations: 32.75 kB / 2.221 GB, free: 256.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/3.744, allocations: 3.406 kB / 2.221 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/3.745, allocations: 0.6425 MB / 2.221 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/3.745, allocations: 8.438 kB / 2.221 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/3.746, allocations: 118.6 kB / 2.222 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/3.746, allocations: 129.6 kB / 2.222 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/3.75, allocations: 5.616 MB / 2.227 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/3.751, allocations: 84.56 kB / 2.227 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/3.751, allocations: 31.2 kB / 2.227 GB, free: 251.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002378/3.751, allocations: 120.7 kB / 2.227 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/3.751, allocations: 95.16 kB / 2.228 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/3.753, allocations: 0.684 MB / 2.228 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/3.753, allocations: 6.516 kB / 2.228 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/3.753, allocations: 2.5 kB / 2.228 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/3.754, allocations: 0.6394 MB / 2.229 GB, free: 251 MB / 1.151 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.003334/3.757, allocations: 1.729 MB / 2.23 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.757, allocations: 1.375 kB / 2.231 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/3.758, allocations: 88.94 kB / 2.231 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/3.758, allocations: 112 kB / 2.231 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/3.758, allocations: 12.17 kB / 2.231 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/3.761, allocations: 4.66 MB / 2.235 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/3.761, allocations: 2.312 kB / 2.235 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/3.763, allocations: 1.074 MB / 2.236 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/3.763, allocations: 272.6 kB / 2.237 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/3.763, allocations: 1.984 kB / 2.237 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/3.764, allocations: 57.61 kB / 2.237 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/3.764, allocations: 47.94 kB / 2.237 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/3.764, allocations: 23.75 kB / 2.237 GB, free: 245.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009872/3.765, allocations: 0.5366 MB / 2.237 GB, free: 245.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/3.765, allocations: 0 / 2.237 GB, free: 245.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00354/3.769, allocations: 0.7528 MB / 2.238 GB, free: 245.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/3.77, allocations: 0.6599 MB / 2.239 GB, free: 245.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002485/3.773, allocations: 1.647 MB / 2.24 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.773, allocations: 0.8438 kB / 2.24 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006831/3.774, allocations: 0.5751 MB / 2.241 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/3.776, allocations: 0.4966 MB / 2.241 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/3.78, allocations: 1.514 MB / 2.243 GB, free: 243.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/3.78, allocations: 1.117 MB / 2.244 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001334/3.782, allocations: 264.5 kB / 2.244 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/3.782, allocations: 63.92 kB / 2.244 GB, free: 243.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/3.782, allocations: 0 / 2.244 GB, free: 243.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04337/3.825, allocations: 23.41 MB / 2.267 GB, free: 242.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches