Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.032/2.032, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001289/0.001289, allocations: 185.3 kB / 487 MB, free: 5.34 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.444/1.444, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 94 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.327, allocations: 433.3 MB / 1.628 GB, free: 6.43 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.328, allocations: 104 kB / 1.628 GB, free: 6.371 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.043/3.371, allocations: 0.5676 GB / 2.196 GB, free: 265.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001217/3.371, allocations: 29.84 kB / 2.196 GB, free: 265.3 MB / 1.135 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.002752/3.374, allocations: 1.419 MB / 2.197 GB, free: 264.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/3.374, allocations: 7.625 kB / 2.197 GB, free: 264.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/3.374, allocations: 156.4 kB / 2.198 GB, free: 264.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/3.377, allocations: 1.408 MB / 2.199 GB, free: 264.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/3.377, allocations: 25.88 kB / 2.199 GB, free: 264.5 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/3.377, allocations: 51.62 kB / 2.199 GB, free: 264.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/3.378, allocations: 0.5636 MB / 2.2 GB, free: 264.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/3.379, allocations: 0.7394 MB / 2.2 GB, free: 264.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/3.379, allocations: 9.312 kB / 2.2 GB, free: 264.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/3.379, allocations: 0 / 2.2 GB, free: 264.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/3.379, allocations: 22.34 kB / 2.2 GB, free: 264.4 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/3.384, allocations: 4.371 MB / 2.205 GB, free: 262.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/3.385, allocations: 473.5 kB / 2.205 GB, free: 262.2 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/3.385, allocations: 307.5 kB / 2.205 GB, free: 262.2 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/3.386, allocations: 0.6062 MB / 2.206 GB, free: 261.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/3.386, allocations: 38.19 kB / 2.206 GB, free: 261.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=57): time 2.715e-06/3.386, allocations: 1.781 kB / 2.206 GB, free: 261.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=57): time 0.001553/3.388, allocations: 0.6309 MB / 2.207 GB, free: 261.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/3.388, allocations: 62.19 kB / 2.207 GB, free: 261.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/3.388, allocations: 0.7002 MB / 2.207 GB, free: 261.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/3.388, allocations: 29.31 kB / 2.207 GB, free: 261.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/3.389, allocations: 388.2 kB / 2.208 GB, free: 260.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/3.389, allocations: 192.6 kB / 2.208 GB, free: 260.8 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/3.389, allocations: 6.828 kB / 2.208 GB, free: 260.8 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/3.389, allocations: 335.8 kB / 2.208 GB, free: 260.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/3.389, allocations: 180.1 kB / 2.208 GB, free: 260.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/3.39, allocations: 358.3 kB / 2.209 GB, free: 260.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/3.39, allocations: 300.6 kB / 2.209 GB, free: 260.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/3.39, allocations: 0 / 2.209 GB, free: 260.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001513/3.392, allocations: 0.7968 MB / 2.21 GB, free: 260.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/3.392, allocations: 1.32 MB / 2.211 GB, free: 258.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/3.392, allocations: 3.812 kB / 2.211 GB, free: 258.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003367/3.392, allocations: 116.8 kB / 2.211 GB, free: 258.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/3.393, allocations: 132.4 kB / 2.211 GB, free: 258.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/3.396, allocations: 4.648 MB / 2.216 GB, free: 254.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.397, allocations: 86.06 kB / 2.216 GB, free: 254.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/3.397, allocations: 36.88 kB / 2.216 GB, free: 254.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/3.397, allocations: 3.062 kB / 2.216 GB, free: 254.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001468/3.398, allocations: 0.6521 MB / 2.217 GB, free: 254.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/3.398, allocations: 4.656 kB / 2.217 GB, free: 254.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/3.399, allocations: 119 kB / 2.217 GB, free: 254.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/3.399, allocations: 129.5 kB / 2.217 GB, free: 254.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/3.402, allocations: 5.509 MB / 2.222 GB, free: 249.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.403, allocations: 79.42 kB / 2.222 GB, free: 249.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/3.403, allocations: 28.47 kB / 2.222 GB, free: 249.4 MB / 1.135 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.0002174/3.403, allocations: 123.5 kB / 2.223 GB, free: 249.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/3.404, allocations: 98.25 kB / 2.223 GB, free: 249.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/3.405, allocations: 0.7003 MB / 2.223 GB, free: 249.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/3.405, allocations: 7.625 kB / 2.223 GB, free: 249.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/3.405, allocations: 3.875 kB / 2.223 GB, free: 249.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/3.406, allocations: 0.6486 MB / 2.224 GB, free: 249 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/3.41, allocations: 1.749 MB / 2.226 GB, free: 248.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/3.41, allocations: 3.391 kB / 2.226 GB, free: 248.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/3.41, allocations: 92.17 kB / 2.226 GB, free: 248.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/3.411, allocations: 110.1 kB / 2.226 GB, free: 248.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/3.411, allocations: 10.03 kB / 2.226 GB, free: 248.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/3.413, allocations: 4.635 MB / 2.23 GB, free: 244.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.413, allocations: 0 / 2.23 GB, free: 244.3 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001774/3.415, allocations: 1.092 MB / 2.231 GB, free: 243.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/3.416, allocations: 264.4 kB / 2.232 GB, free: 243.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/3.416, allocations: 3.438 kB / 2.232 GB, free: 243.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/3.417, allocations: 54.25 kB / 2.232 GB, free: 243.8 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/3.417, allocations: 31.89 kB / 2.232 GB, free: 243.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/3.417, allocations: 28.91 kB / 2.232 GB, free: 243.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0008269/3.418, allocations: 0.5431 MB / 2.232 GB, free: 243.7 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00297/3.421, allocations: 0.7459 MB / 2.233 GB, free: 243.6 MB / 1.135 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.001594/3.422, allocations: 0.6586 MB / 2.234 GB, free: 243.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002211/3.424, allocations: 1.612 MB / 2.235 GB, free: 242.7 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/3.425, allocations: 0 / 2.235 GB, free: 242.7 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/3.425, allocations: 0.5538 MB / 2.236 GB, free: 242.4 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/3.428, allocations: 482.5 kB / 2.236 GB, free: 242.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/3.431, allocations: 1.534 MB / 2.238 GB, free: 241.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/3.432, allocations: 1.191 MB / 2.239 GB, free: 241.2 MB / 1.135 GB Notification: Performance of SimCode: time 6.81e-07/3.432, allocations: 0 / 2.239 GB, free: 241.2 MB / 1.135 GB Notification: Performance of Templates: time 0.04623/3.478, allocations: 26 MB / 2.264 GB, free: 240.8 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches