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.InternalHEXOneUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 99.39 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.001354/0.001354, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 251.9 MB / 0.51 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005302, allocations: 16 kB / 0.6242 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6826, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06199/0.7446, allocations: 54.5 MB / 0.7812 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.7726, allocations: 14.37 MB / 0.7953 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.776, allocations: 55.62 kB / 0.7953 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004803/0.7808, allocations: 1.081 MB / 0.7964 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.7915, allocations: 2.218 MB / 0.7985 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009753/0.8013, allocations: 2.768 MB / 0.8012 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00654/0.8078, allocations: 2.642 MB / 0.8038 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.8107, allocations: 1.069 MB / 0.8049 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003753/0.8145, allocations: 1.203 MB / 0.806 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.8168, allocations: 0.8672 MB / 0.8069 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005775/0.8174, allocations: 80 kB / 0.807 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006187/0.8236, allocations: 1.939 MB / 0.8089 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.8245, allocations: 346.6 kB / 0.8092 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.8257, allocations: 400.8 kB / 0.8096 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.8322, allocations: 3.211 MB / 0.8127 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8323, allocations: 4 kB / 0.8127 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8323, allocations: 0 / 0.8127 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.079e-05/0.8324, allocations: 0 / 0.8127 GB, free: 4.516 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004388/0.8367, allocations: 2.045 MB / 0.8147 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.8368, allocations: 12.03 kB / 0.8147 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.8374, allocations: 205.6 kB / 0.8149 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.84, allocations: 1.403 MB / 0.8163 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/0.84, allocations: 82.08 kB / 0.8164 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.8402, allocations: 119.9 kB / 0.8165 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.8422, allocations: 1.089 MB / 0.8175 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.8422, allocations: 7.906 kB / 0.8175 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.8423, allocations: 51.94 kB / 0.8176 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.8423, allocations: 24 kB / 0.8176 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.8439, allocations: 0.8238 MB / 0.8184 GB, free: 14.47 MB / 0.6387 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.009477/0.8534, allocations: 6.831 MB / 0.8251 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.8545, allocations: 0.7479 MB / 0.8258 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.856, allocations: 1.278 MB / 0.8271 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.856, allocations: 43.22 kB / 0.8271 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.856, allocations: 0 / 0.8271 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.00239/0.8584, allocations: 1.161 MB / 0.8282 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.8585, allocations: 85.77 kB / 0.8283 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.861, allocations: 1.531 MB / 0.8298 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.8612, allocations: 41.7 kB / 0.8299 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007411/0.8619, allocations: 0.7093 MB / 0.8306 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.8623, allocations: 256.3 kB / 0.8308 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.8623, allocations: 20 kB / 0.8308 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8625, allocations: 341.9 kB / 0.8311 GB, free: 332 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.8631, allocations: 277.9 kB / 0.8314 GB, free: 52 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.8638, allocations: 492.2 kB / 0.8319 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.8645, allocations: 362.9 kB / 0.8322 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.8645, allocations: 0 / 0.8322 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001968/0.8665, allocations: 1.009 MB / 0.8332 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007993/0.8673, allocations: 1.353 MB / 0.8345 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.8673, allocations: 4 kB / 0.8345 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.8678, allocations: 85.56 kB / 0.8346 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.8685, allocations: 187.8 kB / 0.8348 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.8716, allocations: 2.997 MB / 0.8377 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.8732, allocations: 146.9 kB / 0.8379 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.8733, allocations: 39.98 kB / 0.8379 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8734, allocations: 10.45 kB / 0.8379 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001577/0.8749, allocations: 0.8411 MB / 0.8387 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.875, allocations: 8 kB / 0.8387 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.8751, allocations: 65.69 kB / 0.8388 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.8758, allocations: 187.7 kB / 0.839 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.8786, allocations: 2.977 MB / 0.8419 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.8803, allocations: 146 kB / 0.842 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.8804, allocations: 43.98 kB / 0.8421 GB, free: 4.371 MB / 0.6544 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001137/0.8815, allocations: 449.4 kB / 0.8425 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/0.8821, allocations: 166 kB / 0.8427 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.8843, allocations: 1.042 MB / 0.8437 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/0.8843, allocations: 15.98 kB / 0.8437 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.8843, allocations: 4 kB / 0.8437 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.8855, allocations: 0.7771 MB / 0.8445 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.8912, allocations: 2.71 MB / 0.8471 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.8912, allocations: 4 kB / 0.8471 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.8918, allocations: 139.8 kB / 0.8472 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/0.8921, allocations: 82.11 kB / 0.8473 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.8922, allocations: 16 kB / 0.8473 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.8951, allocations: 2.994 MB / 0.8503 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8952, allocations: 4 kB / 0.8503 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.898, allocations: 1.624 MB / 0.8518 GB, free: 9.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.8992, allocations: 406.6 kB / 0.8522 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005697/0.8998, allocations: 23.95 kB / 0.8523 GB, free: 9.238 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.9011, allocations: 51.95 kB / 0.8523 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9013, allocations: 64.42 kB / 0.8524 GB, free: 9.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.9014, allocations: 31.98 kB / 0.8524 GB, free: 9.094 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003049/0.9044, allocations: 1.084 MB / 0.8535 GB, free: 8.016 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9044, allocations: 0 / 0.8535 GB, free: 8.016 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005759/0.9102, allocations: 1.088 MB / 0.8545 GB, free: 6.926 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003332/0.9136, allocations: 0.8323 MB / 0.8553 GB, free: 6.105 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003416/0.917, allocations: 1.696 MB / 0.857 GB, free: 4.352 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.917, allocations: 0 / 0.857 GB, free: 4.352 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.918, allocations: 0.5905 MB / 0.8576 GB, free: 3.734 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/0.9226, allocations: 0.7919 MB / 0.8583 GB, free: 2.953 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.93, allocations: 3.455 MB / 0.8617 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.9316, allocations: 1.305 MB / 0.863 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001972/0.9336, allocations: 369.7 kB / 0.8633 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.9341, allocations: 135.4 kB / 0.8635 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of SimCode: time 8.02e-07/0.9341, allocations: 0 / 0.8635 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.06831/1.002, allocations: 37.56 MB / 0.9001 GB, free: 8.555 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) Environment - environmentSimulation: