Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.595/1.595, allocations: 288.4 MB / 304.3 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009403/0.0009403, allocations: 180.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009209/0.000921, allocations: 93.05 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 15.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9916/1.223, allocations: 413.9 MB / 1.385 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000419/1.224, allocations: 120.2 kB / 1.385 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.902/11.13, allocations: 2.777 GB / 4.162 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.647e-06/11.13, allocations: 3.812 kB / 4.162 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003741/11.13, allocations: 305.7 kB / 4.163 GB, free: 132.3 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.0572/11.19, allocations: 14.08 MB / 4.176 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/11.19, allocations: 10.97 kB / 4.176 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/11.2, allocations: 1.621 MB / 4.178 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05373/11.25, allocations: 18.6 MB / 4.196 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/11.25, allocations: 0.6418 MB / 4.197 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006173/11.26, allocations: 0.8595 MB / 4.198 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04443/11.3, allocations: 12.03 MB / 4.209 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009376/11.3, allocations: 35.22 kB / 4.209 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004933/11.31, allocations: 353.7 kB / 4.21 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/11.31, allocations: 205.1 kB / 4.21 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/11.34, allocations: 10.26 MB / 4.22 GB, free: 122.7 MB / 0.9948 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.1102/11.45, allocations: 51.05 MB / 4.27 GB, free: 93.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/11.46, allocations: 5.848 MB / 4.276 GB, free: 91.55 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007367/11.47, allocations: 3.899 MB / 4.279 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002351/11.47, allocations: 2.19 MB / 4.281 GB, free: 87.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/11.47, allocations: 94.14 kB / 4.282 GB, free: 87.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=482): time 1.171e-05/11.47, allocations: 2.156 kB / 4.282 GB, free: 87.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=482): time 0.03118/11.5, allocations: 12.57 MB / 4.294 GB, free: 78.58 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/11.5, allocations: 364.2 kB / 4.294 GB, free: 78.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04019/11.54, allocations: 15.52 MB / 4.309 GB, free: 64.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001779/11.55, allocations: 129.7 kB / 4.309 GB, free: 64.61 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009689/11.55, allocations: 6.014 MB / 4.315 GB, free: 58.59 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003105/11.56, allocations: 1.7 MB / 4.317 GB, free: 56.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/11.56, allocations: 132 kB / 4.317 GB, free: 56.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0007297/11.56, allocations: 0.571 MB / 4.318 GB, free: 56.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00646/11.57, allocations: 3.503 MB / 4.321 GB, free: 52.69 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00806/11.57, allocations: 5.755 MB / 4.327 GB, free: 46.11 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/11.59, allocations: 8.599 MB / 4.335 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.395e-05/11.59, allocations: 12 kB / 4.335 GB, free: 36.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02382/11.61, allocations: 10.92 MB / 4.346 GB, free: 25.81 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006979/11.61, allocations: 1.354 MB / 4.347 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/11.61, allocations: 67.98 kB / 4.347 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/11.61, allocations: 1.016 MB / 4.348 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005585/11.62, allocations: 1.451 MB / 4.35 GB, free: 21.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/11.64, allocations: 33.09 MB / 4.382 GB, free: 1.586 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01521/11.66, allocations: 1.471 MB / 4.383 GB, free: 112 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18/12.84, allocations: 275.1 kB / 4.384 GB, free: 144.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/12.84, allocations: 4.359 kB / 4.384 GB, free: 144.8 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02348/12.86, allocations: 9.834 MB / 4.393 GB, free: 144.4 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/12.86, allocations: 65.95 kB / 4.393 GB, free: 144.4 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/12.86, allocations: 0.9924 MB / 4.394 GB, free: 144.3 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/12.87, allocations: 1.447 MB / 4.396 GB, free: 144.3 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02465/12.89, allocations: 33.35 MB / 4.428 GB, free: 117.9 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/12.91, allocations: 1.372 MB / 4.43 GB, free: 117.9 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/12.91, allocations: 270.5 kB / 4.43 GB, free: 117.9 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0118/12.92, allocations: 5.396 MB / 4.435 GB, free: 117.7 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004697/12.93, allocations: 1.167 MB / 4.436 GB, free: 117.7 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/12.94, allocations: 8.371 MB / 4.444 GB, free: 117.3 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.278e-05/12.94, allocations: 50.92 kB / 4.444 GB, free: 117.3 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/12.94, allocations: 9.656 kB / 4.445 GB, free: 117.3 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01151/12.96, allocations: 6.499 MB / 4.451 GB, free: 116.9 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06923/13.03, allocations: 43.92 MB / 4.494 GB, free: 94.34 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/13.03, allocations: 11.38 kB / 4.494 GB, free: 94.34 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00435/13.03, allocations: 1.062 MB / 4.495 GB, free: 94.34 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/13.03, allocations: 0.9786 MB / 4.496 GB, free: 94.18 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007645/13.03, allocations: 149.1 kB / 4.496 GB, free: 94.18 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/13.05, allocations: 33.21 MB / 4.528 GB, free: 67.73 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/13.05, allocations: 15.19 kB / 4.528 GB, free: 67.73 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/13.07, allocations: 12.19 MB / 4.54 GB, free: 66.34 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009607/13.08, allocations: 2.858 MB / 4.543 GB, free: 65.61 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004907/13.09, allocations: 135 kB / 4.543 GB, free: 65.61 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01189/13.1, allocations: 0.6508 MB / 4.544 GB, free: 65.57 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001896/13.1, allocations: 366.8 kB / 4.544 GB, free: 65.56 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001533/13.1, allocations: 194.2 kB / 4.544 GB, free: 65.56 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.02556/13.13, allocations: 11.55 MB / 4.556 GB, free: 65.2 MB / 1.011 GB Notification: Performance of sort global known variables: time 3.21e-07/13.13, allocations: 0 / 4.556 GB, free: 65.2 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.03532/13.16, allocations: 6.467 MB / 4.562 GB, free: 64.91 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.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 (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.004869/13.17, allocations: 1.413 MB / 4.563 GB, free: 64.75 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02774/13.2, allocations: 18.02 MB / 4.581 GB, free: 59.53 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/13.2, allocations: 5.156 kB / 4.581 GB, free: 59.53 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.007507/13.2, allocations: 5.692 MB / 4.586 GB, free: 57.28 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07538/13.28, allocations: 8.968 MB / 4.595 GB, free: 57.11 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07351/13.35, allocations: 33.31 MB / 4.628 GB, free: 46.07 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01749/13.37, allocations: 9.305 MB / 4.637 GB, free: 60.88 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02861/13.4, allocations: 6.76 MB / 4.643 GB, free: 60.41 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006657/13.41, allocations: 0.9883 MB / 4.644 GB, free: 60.39 MB / 1.026 GB Notification: Performance of SimCode: time 1.062e-06/13.41, allocations: 0 / 4.644 GB, free: 60.39 MB / 1.026 GB Notification: Performance of Templates: time 1.03/14.44, allocations: 314.1 MB / 4.951 GB, free: 148.6 MB / 1.042 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)