Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00898/0.00898, allocations: 171 kB / 16.27 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 10.75 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.07577/0.3646, allocations: 84.09 MB / 1.156 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03263/0.3973, allocations: 25.13 MB / 1.181 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/0.4016, allocations: 103.4 kB / 1.181 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00464/0.4063, allocations: 1.531 MB / 1.182 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.4166, allocations: 3.728 MB / 1.186 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009188/0.4258, allocations: 3.675 MB / 1.19 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.4379, allocations: 10.75 MB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.4411, allocations: 2.302 MB / 1.202 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.4453, allocations: 2.407 MB / 1.205 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.4483, allocations: 2.302 MB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.4486, allocations: 151.9 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.4548, allocations: 3.182 MB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006672/0.4555, allocations: 0.63 MB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.4574, allocations: 1.677 MB / 1.213 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009219/0.4666, allocations: 7.025 MB / 1.219 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4666, allocations: 0 / 1.219 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4667, allocations: 0 / 1.219 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.267e-05/0.4667, allocations: 0 / 1.219 GB, free: 2.355 MB / 0.9669 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.005801/0.4726, allocations: 3.282 MB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4726, allocations: 8.031 kB / 1.223 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007618/0.4734, allocations: 375.8 kB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004058/0.4774, allocations: 2.582 MB / 1.225 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.4776, allocations: 164.1 kB / 1.226 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.4779, allocations: 215.9 kB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.4815, allocations: 2.198 MB / 1.228 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/0.4815, allocations: 3.938 kB / 1.228 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.4817, allocations: 88 kB / 1.228 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.4818, allocations: 56 kB / 1.228 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.4845, allocations: 1.675 MB / 1.23 GB, free: 7.441 MB / 0.9825 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.01103/0.4956, allocations: 9.288 MB / 1.239 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4973, allocations: 1.199 MB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.4984, allocations: 0.8219 MB / 1.241 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/0.5008, allocations: 2.93 MB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.5008, allocations: 59.8 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=148): time 2.906e-06/0.5008, allocations: 0 / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=148): time 0.005298/0.5061, allocations: 2.736 MB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.5062, allocations: 106.3 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.5091, allocations: 2.251 MB / 1.249 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.5093, allocations: 61.69 kB / 1.249 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009245/0.5102, allocations: 1.181 MB / 1.25 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.5106, allocations: 0.5199 MB / 1.25 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.5108, allocations: 161.6 kB / 1.251 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.5109, allocations: 301.1 kB / 1.251 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5101/1.021, allocations: 0.572 MB / 1.251 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.023, allocations: 0.9315 MB / 1.252 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/1.025, allocations: 1.491 MB / 1.254 GB, free: 169 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.025, allocations: 2.562 kB / 1.254 GB, free: 169 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004231/1.029, allocations: 2.126 MB / 1.256 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.029, allocations: 300.9 kB / 1.256 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/1.029, allocations: 9.875 kB / 1.256 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.03, allocations: 275.6 kB / 1.256 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.032, allocations: 384.7 kB / 1.257 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/1.036, allocations: 7.063 MB / 1.264 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.038, allocations: 289.2 kB / 1.264 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.038, allocations: 79.77 kB / 1.264 GB, free: 162 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/1.038, allocations: 2.094 kB / 1.264 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002758/1.041, allocations: 1.818 MB / 1.266 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/1.041, allocations: 13.73 kB / 1.266 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/1.041, allocations: 210.6 kB / 1.266 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.043, allocations: 388.7 kB / 1.266 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/1.047, allocations: 9.118 MB / 1.275 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.05, allocations: 275.5 kB / 1.276 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.05, allocations: 72.34 kB / 1.276 GB, free: 152.9 MB / 0.9981 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.051, allocations: 0.648 MB / 1.276 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/1.051, allocations: 259.4 kB / 1.277 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/1.054, allocations: 2.027 MB / 1.278 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.055, allocations: 19.22 kB / 1.278 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.055, allocations: 1.75 kB / 1.279 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002345/1.057, allocations: 1.652 MB / 1.28 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006779/1.064, allocations: 4.368 MB / 1.284 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.064, allocations: 5.062 kB / 1.284 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.065, allocations: 274.8 kB / 1.285 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/1.065, allocations: 216.1 kB / 1.285 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/1.066, allocations: 45.81 kB / 1.285 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/1.069, allocations: 7.067 MB / 1.292 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.069, allocations: 1.938 kB / 1.292 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/1.073, allocations: 2.648 MB / 1.294 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.074, allocations: 0.5886 MB / 1.295 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.075, allocations: 33.5 kB / 1.295 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.076, allocations: 139.7 kB / 1.295 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.076, allocations: 104.3 kB / 1.295 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.076, allocations: 58.42 kB / 1.295 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002329/1.079, allocations: 1.517 MB / 1.297 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.079, allocations: 0 / 1.297 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005125/1.084, allocations: 1.864 MB / 1.299 GB, free: 138.9 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002234/1.086, allocations: 1.103 MB / 1.3 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005156/1.091, allocations: 3.727 MB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.091, allocations: 5.516 kB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.093, allocations: 1.234 MB / 1.305 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007134/1.1, allocations: 1.335 MB / 1.306 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/1.108, allocations: 6.305 MB / 1.312 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.109, allocations: 1.746 MB / 1.314 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002654/1.112, allocations: 0.5973 MB / 1.314 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/1.112, allocations: 211.9 kB / 1.314 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.112, allocations: 0 / 1.314 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07944/1.192, allocations: 60.48 MB / 1.374 GB, free: 79.85 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)