Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5648/0.5648, allocations: 94.7 MB / 107.3 MB, free: 5.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001162/0.001162, allocations: 174.8 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.756/1.756, allocations: 170.5 MB / 324.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00179/0.001789, allocations: 111.3 kB / 386.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.228e-05/5.231e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 61.51 MB / 0.5054 GB, free: 49.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.432/1.949, allocations: 427.1 MB / 0.9225 GB, free: 179.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004399/1.949, allocations: 101.2 kB / 0.9226 GB, free: 179.3 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 1.196/3.145, allocations: 375.5 MB / 1.289 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.176e-06/3.145, allocations: 0 / 1.289 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000154/3.145, allocations: 35.92 kB / 1.289 GB, free: 23.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00483/3.15, allocations: 1.447 MB / 1.291 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/3.15, allocations: 12.03 kB / 1.291 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/3.151, allocations: 154.3 kB / 1.291 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/3.155, allocations: 1.347 MB / 1.292 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/3.156, allocations: 66 kB / 1.292 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/3.156, allocations: 88 kB / 1.292 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/3.158, allocations: 0.9359 MB / 1.293 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/3.158, allocations: 0 / 1.293 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/3.158, allocations: 40 kB / 1.293 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/3.158, allocations: 20 kB / 1.293 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/3.16, allocations: 0.6598 MB / 1.294 GB, free: 18.29 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.006908/3.167, allocations: 4.592 MB / 1.298 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/3.168, allocations: 0.5137 MB / 1.299 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/3.168, allocations: 294.8 kB / 1.299 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/3.169, allocations: 453.9 kB / 1.3 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/3.169, allocations: 43 kB / 1.3 GB, free: 12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=51): time 4.519e-06/3.169, allocations: 4 kB / 1.3 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.01376/3.183, allocations: 2.491 MB / 1.302 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/3.183, allocations: 107.4 kB / 1.302 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/3.185, allocations: 0.8483 MB / 1.303 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/3.185, allocations: 45.64 kB / 1.303 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/3.185, allocations: 0.5343 MB / 1.304 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/3.185, allocations: 224.8 kB / 1.304 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/3.185, allocations: 16 kB / 1.304 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/3.186, allocations: 337.9 kB / 1.304 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/3.186, allocations: 230 kB / 1.304 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/3.187, allocations: 457.2 kB / 1.305 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/3.187, allocations: 306 kB / 1.305 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/3.187, allocations: 4 kB / 1.305 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002031/3.189, allocations: 0.948 MB / 1.306 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004833/3.19, allocations: 2.012 MB / 1.308 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/3.19, allocations: 7.984 kB / 1.308 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/3.191, allocations: 260 kB / 1.308 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/3.192, allocations: 151.8 kB / 1.308 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5459/3.738, allocations: 5.383 MB / 1.314 GB, free: 67.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/3.739, allocations: 67.98 kB / 1.314 GB, free: 67.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/3.74, allocations: 36.47 kB / 1.314 GB, free: 67.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/3.74, allocations: 2.75 kB / 1.314 GB, free: 67.24 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/3.742, allocations: 0.9148 MB / 1.315 GB, free: 67.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/3.742, allocations: 8.312 kB / 1.315 GB, free: 67.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/3.742, allocations: 188.6 kB / 1.315 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/3.743, allocations: 151.6 kB / 1.315 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/3.746, allocations: 6.373 MB / 1.321 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/3.748, allocations: 67.12 kB / 1.321 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/3.748, allocations: 40.78 kB / 1.321 GB, free: 61.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * 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: 5 * 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: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002764/3.748, allocations: 155.7 kB / 1.321 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/3.748, allocations: 110.9 kB / 1.322 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/3.75, allocations: 0.7564 MB / 1.322 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/3.75, allocations: 5.531 kB / 1.322 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/3.75, allocations: 5.562 kB / 1.322 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/3.75, allocations: 3.281 kB / 1.322 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/3.753, allocations: 1.721 MB / 1.324 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/3.753, allocations: 0.75 kB / 1.324 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/3.754, allocations: 101.6 kB / 1.324 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/3.755, allocations: 238 kB / 1.324 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/3.755, allocations: 17.62 kB / 1.324 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/3.758, allocations: 5.34 MB / 1.33 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/3.758, allocations: 2.688 kB / 1.33 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/3.759, allocations: 1.065 MB / 1.331 GB, free: 55.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/3.76, allocations: 199.5 kB / 1.331 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/3.76, allocations: 16.03 kB / 1.331 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/3.761, allocations: 51.03 kB / 1.331 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/3.761, allocations: 42.67 kB / 1.331 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/3.761, allocations: 27.67 kB / 1.331 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001011/3.762, allocations: 0.6522 MB / 1.332 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/3.762, allocations: 0 / 1.332 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003165/3.765, allocations: 0.7811 MB / 1.332 GB, free: 55.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.vol1.dynBal.medium.T,hex.vol2.dynBal.medium.T,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 (50): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 2 {1 1,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/3.767, allocations: 0.7374 MB / 1.333 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002926/3.77, allocations: 1.908 MB / 1.335 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/3.77, allocations: 4.609 kB / 1.335 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/3.771, allocations: 0.6281 MB / 1.336 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/3.773, allocations: 0.548 MB / 1.336 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/3.776, allocations: 1.571 MB / 1.338 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/3.777, allocations: 1.129 MB / 1.339 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001324/3.778, allocations: 311.2 kB / 1.339 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/3.778, allocations: 68.36 kB / 1.339 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/3.778, allocations: 0 / 1.339 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05475/3.833, allocations: 30.2 MB / 1.369 GB, free: 51.88 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)