Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.93 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.001269/0.001269, allocations: 183.7 kB / 327.5 MB, free: 2.172 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.56/1.56, allocations: 205.4 MB / 0.5785 GB, free: 20.15 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.0007512/0.0007512, allocations: 84.45 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004274, allocations: 11.56 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 106.3 MB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.95/1.184, allocations: 423 MB / 1.314 GB, free: 8.457 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/1.184, allocations: 129.2 kB / 1.314 GB, free: 8.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.413/4.597, allocations: 1.017 GB / 2.332 GB, free: 70.94 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/4.597, allocations: 0 / 2.332 GB, free: 70.94 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003761/4.597, allocations: 79.97 kB / 2.332 GB, free: 70.86 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01054/4.608, allocations: 3.566 MB / 2.335 GB, free: 67.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/4.608, allocations: 8.031 kB / 2.335 GB, free: 67.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/4.61, allocations: 376.7 kB / 2.336 GB, free: 66.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008342/4.618, allocations: 2.886 MB / 2.338 GB, free: 63.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/4.619, allocations: 160.1 kB / 2.339 GB, free: 63.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007322/4.619, allocations: 219.9 kB / 2.339 GB, free: 63.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005106/4.624, allocations: 2.132 MB / 2.341 GB, free: 61.26 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.951e-05/4.625, allocations: 3.938 kB / 2.341 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003975/4.625, allocations: 99.62 kB / 2.341 GB, free: 61.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/4.625, allocations: 52 kB / 2.341 GB, free: 61.11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/4.628, allocations: 1.612 MB / 2.343 GB, free: 59.48 MB / 0.8855 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.01542/4.644, allocations: 8.789 MB / 2.351 GB, free: 50.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/4.646, allocations: 1.364 MB / 2.353 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/4.647, allocations: 0.8639 MB / 2.353 GB, free: 48.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/4.649, allocations: 2.918 MB / 2.356 GB, free: 44.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/4.649, allocations: 47.88 kB / 2.356 GB, free: 44.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=148): time 4.178e-06/4.649, allocations: 0 / 2.356 GB, free: 44.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148): time 0.005103/4.654, allocations: 2.763 MB / 2.359 GB, free: 41.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/4.654, allocations: 98.36 kB / 2.359 GB, free: 41.49 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/4.658, allocations: 2.204 MB / 2.361 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/4.658, allocations: 57.64 kB / 2.361 GB, free: 39.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009586/4.659, allocations: 1.201 MB / 2.362 GB, free: 37.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/4.66, allocations: 0.516 MB / 2.363 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/4.66, allocations: 32 kB / 2.363 GB, free: 37.44 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001267/4.66, allocations: 369.9 kB / 2.363 GB, free: 37.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/4.661, allocations: 0.5271 MB / 2.364 GB, free: 36.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/4.662, allocations: 0.9011 MB / 2.365 GB, free: 35.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/4.664, allocations: 1.424 MB / 2.366 GB, free: 34 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/4.664, allocations: 7.938 kB / 2.366 GB, free: 33.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00377/4.668, allocations: 2.002 MB / 2.368 GB, free: 31.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/4.668, allocations: 293.2 kB / 2.368 GB, free: 31.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/4.668, allocations: 11.98 kB / 2.368 GB, free: 31.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/4.669, allocations: 264.8 kB / 2.369 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/4.67, allocations: 355.5 kB / 2.369 GB, free: 30.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/4.674, allocations: 7.058 MB / 2.376 GB, free: 23.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/4.676, allocations: 278.1 kB / 2.376 GB, free: 23.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/4.677, allocations: 67.98 kB / 2.376 GB, free: 22.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/4.677, allocations: 4 kB / 2.376 GB, free: 22.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/4.68, allocations: 1.711 MB / 2.378 GB, free: 21.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/4.68, allocations: 8 kB / 2.378 GB, free: 21.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/4.681, allocations: 213.5 kB / 2.378 GB, free: 21.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/4.682, allocations: 350.3 kB / 2.378 GB, free: 20.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/4.687, allocations: 8.984 MB / 2.387 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/4.69, allocations: 262.3 kB / 2.387 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003798/4.69, allocations: 67.98 kB / 2.387 GB, free: 10.57 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001925/4.692, allocations: 0.6456 MB / 2.388 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008996/4.693, allocations: 260.8 kB / 2.388 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/4.697, allocations: 2.026 MB / 2.39 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/4.697, allocations: 23.92 kB / 2.39 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/4.697, allocations: 4 kB / 2.39 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002219/4.699, allocations: 1.666 MB / 2.392 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008679/4.708, allocations: 4.494 MB / 2.396 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/4.708, allocations: 0 / 2.396 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/4.709, allocations: 279.7 kB / 2.397 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/4.709, allocations: 219.1 kB / 2.397 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/4.709, allocations: 35.98 kB / 2.397 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/4.715, allocations: 7.054 MB / 2.404 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/4.715, allocations: 11.64 kB / 2.404 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/4.72, allocations: 2.706 MB / 2.406 GB, free: 6.312 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/4.722, allocations: 0.5559 MB / 2.407 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/4.723, allocations: 31.94 kB / 2.407 GB, free: 5.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/4.725, allocations: 155.5 kB / 2.407 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/4.725, allocations: 101.2 kB / 2.407 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/4.726, allocations: 59.97 kB / 2.407 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003713/4.729, allocations: 1.492 MB / 2.409 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.9e-07/4.729, allocations: 0 / 2.409 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009068/4.738, allocations: 1.957 MB / 2.411 GB, free: 1.93 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004848/4.743, allocations: 1.714 MB / 2.412 GB, free: 276 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006605/4.75, allocations: 3.589 MB / 2.416 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/4.75, allocations: 4 kB / 2.416 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/4.752, allocations: 1.238 MB / 2.417 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008972/4.761, allocations: 1.35 MB / 2.418 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/4.774, allocations: 6.101 MB / 2.424 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/4.776, allocations: 1.739 MB / 2.426 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003187/4.779, allocations: 0.5905 MB / 2.427 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007355/4.78, allocations: 211.3 kB / 2.427 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/4.78, allocations: 0 / 2.427 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of Templates: time 0.5866/5.367, allocations: 65.02 MB / 2.49 GB, free: 112.6 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)