Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.156/1.156, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009574/0.0009573, allocations: 185.3 kB / 316 MB, free: 7.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 0.5667 GB, free: 24.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007832/0.0007832, allocations: 90.44 kB / 0.671 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.171e-06, allocations: 0 / 0.7807 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3474, allocations: 106.3 MB / 0.8846 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6009/0.9484, allocations: 413.2 MB / 1.288 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.9487, allocations: 109.3 kB / 1.288 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.41/2.359, allocations: 0.5388 GB / 1.827 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.371e-05/2.359, allocations: 31.28 kB / 1.827 GB, free: 201.2 MB / 0.8698 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.002042/2.361, allocations: 1.416 MB / 1.828 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/2.361, allocations: 11.75 kB / 1.828 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/2.362, allocations: 150.9 kB / 1.829 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/2.364, allocations: 1.389 MB / 1.83 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/2.364, allocations: 28.91 kB / 1.83 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/2.364, allocations: 57.41 kB / 1.83 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008846/2.365, allocations: 0.5542 MB / 1.831 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/2.366, allocations: 0.739 MB / 1.831 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/2.366, allocations: 2.625 kB / 1.831 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/2.366, allocations: 0.6562 kB / 1.831 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/2.366, allocations: 26.12 kB / 1.831 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/2.37, allocations: 4.361 MB / 1.836 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/2.371, allocations: 484.4 kB / 1.836 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/2.371, allocations: 307.2 kB / 1.836 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004604/2.372, allocations: 0.6053 MB / 1.837 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/2.372, allocations: 39.59 kB / 1.837 GB, free: 195 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 1.763e-06/2.372, allocations: 0 / 1.837 GB, free: 195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001307/2.373, allocations: 0.6271 MB / 1.838 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/2.373, allocations: 59.53 kB / 1.838 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/2.374, allocations: 0.7048 MB / 1.838 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/2.374, allocations: 25.7 kB / 1.838 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/2.374, allocations: 388 kB / 1.839 GB, free: 194 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/2.374, allocations: 198 kB / 1.839 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/2.374, allocations: 0 / 1.839 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/2.374, allocations: 329.4 kB / 1.839 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/2.375, allocations: 185.8 kB / 1.839 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/2.375, allocations: 375.9 kB / 1.84 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/2.376, allocations: 295.3 kB / 1.84 GB, free: 193 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/2.376, allocations: 2.781 kB / 1.84 GB, free: 193 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001339/2.377, allocations: 0.7966 MB / 1.841 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/2.377, allocations: 1.309 MB / 1.842 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/2.377, allocations: 15.28 kB / 1.842 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/2.377, allocations: 121 kB / 1.842 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/2.378, allocations: 125.5 kB / 1.842 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/2.38, allocations: 4.655 MB / 1.847 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/2.381, allocations: 90.45 kB / 1.847 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/2.381, allocations: 32.58 kB / 1.847 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-06/2.381, allocations: 3.75 kB / 1.847 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/2.382, allocations: 0.6436 MB / 1.848 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/2.382, allocations: 7.656 kB / 1.848 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/2.382, allocations: 124.2 kB / 1.848 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/2.383, allocations: 128.4 kB / 1.848 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/2.386, allocations: 5.503 MB / 1.853 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/2.386, allocations: 85.95 kB / 1.853 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/2.386, allocations: 29.97 kB / 1.853 GB, free: 180.5 MB / 0.8698 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.0001245/2.386, allocations: 116.6 kB / 1.853 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/2.387, allocations: 101.9 kB / 1.854 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/2.388, allocations: 0.6971 MB / 1.854 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/2.388, allocations: 10.06 kB / 1.854 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/2.388, allocations: 13.89 kB / 1.854 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009718/2.389, allocations: 0.6392 MB / 1.855 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/2.391, allocations: 1.75 MB / 1.857 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.391, allocations: 0 / 1.857 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/2.392, allocations: 94.72 kB / 1.857 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/2.392, allocations: 108.3 kB / 1.857 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/2.392, allocations: 4 kB / 1.857 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/2.394, allocations: 4.624 MB / 1.861 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.394, allocations: 5.281 kB / 1.861 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001614/2.396, allocations: 1.079 MB / 1.862 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/2.396, allocations: 260.6 kB / 1.863 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/2.396, allocations: 5.438 kB / 1.863 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/2.397, allocations: 53.42 kB / 1.863 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/2.397, allocations: 40.73 kB / 1.863 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/2.397, allocations: 23.69 kB / 1.863 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006629/2.398, allocations: 0.5325 MB / 1.863 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002572/2.4, allocations: 0.7524 MB / 1.864 GB, free: 172.1 MB / 0.8698 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.001187/2.402, allocations: 0.6666 MB / 1.865 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002035/2.404, allocations: 1.607 MB / 1.866 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.404, allocations: 1.062 kB / 1.866 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005904/2.404, allocations: 0.5562 MB / 1.867 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/2.407, allocations: 483.2 kB / 1.867 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/2.41, allocations: 1.53 MB / 1.869 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/2.41, allocations: 1.198 MB / 1.87 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/2.41, allocations: 0 / 1.87 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.03312/2.443, allocations: 25.99 MB / 1.895 GB, free: 144.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches