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.Examples.BoreholeOneUTube.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.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 252 MB / 267.9 MB, free: 10.91 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.001199/0.001199, allocations: 180.4 kB / 327.6 MB, free: 2.133 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.646/1.646, allocations: 205.4 MB / 0.5785 GB, free: 20.23 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.000877/0.0008771, allocations: 90.3 kB / 0.6831 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006273/0.0006273, allocations: 16.55 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2125, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8301/1.043, allocations: 407.6 MB / 1.299 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.043, allocations: 116 kB / 1.299 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.102/10.14, allocations: 2.777 GB / 4.077 GB, free: 79.19 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.717e-06/10.14, allocations: 3.938 kB / 4.077 GB, free: 79.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00526/10.15, allocations: 312.1 kB / 4.077 GB, free: 78.9 MB / 0.9167 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.04945/10.2, allocations: 14.08 MB / 4.091 GB, free: 64.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/10.2, allocations: 8.031 kB / 4.091 GB, free: 64.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00969/10.21, allocations: 1.619 MB / 4.092 GB, free: 63.24 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04612/10.26, allocations: 18.62 MB / 4.11 GB, free: 44.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000921/10.26, allocations: 0.6384 MB / 4.111 GB, free: 44.24 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004575/10.26, allocations: 0.8592 MB / 4.112 GB, free: 43.38 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03655/10.3, allocations: 12.03 MB / 4.124 GB, free: 31.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007078/10.3, allocations: 31.69 kB / 4.124 GB, free: 31.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00372/10.3, allocations: 356 kB / 4.124 GB, free: 30.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/10.3, allocations: 204 kB / 4.124 GB, free: 30.48 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/10.33, allocations: 10.26 MB / 4.134 GB, free: 20.19 MB / 0.9167 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 1.127/11.45, allocations: 51.05 MB / 4.184 GB, free: 84.16 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008609/11.46, allocations: 5.84 MB / 4.19 GB, free: 84.05 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004603/11.47, allocations: 3.899 MB / 4.194 GB, free: 84 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/11.47, allocations: 2.18 MB / 4.196 GB, free: 81.66 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.137e-05/11.47, allocations: 95.67 kB / 4.196 GB, free: 81.61 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=482): time 6.633e-06/11.47, allocations: 3.469 kB / 4.196 GB, free: 81.61 MB / 0.9168 GB Notification: Performance of matching and sorting (n=482): time 0.02038/11.49, allocations: 12.57 MB / 4.208 GB, free: 79.41 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/11.49, allocations: 361.3 kB / 4.208 GB, free: 79.03 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02981/11.52, allocations: 15.51 MB / 4.224 GB, free: 78.37 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001782/11.52, allocations: 129.5 kB / 4.224 GB, free: 78.34 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.006477/11.53, allocations: 6.015 MB / 4.23 GB, free: 77.27 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.002848/11.53, allocations: 1.709 MB / 4.231 GB, free: 76.41 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/11.53, allocations: 128.1 kB / 4.231 GB, free: 76.41 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0003882/11.53, allocations: 0.5717 MB / 4.232 GB, free: 76.09 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00487/11.54, allocations: 3.504 MB / 4.235 GB, free: 76.07 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006297/11.54, allocations: 5.751 MB / 4.241 GB, free: 73.9 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/11.55, allocations: 8.609 MB / 4.249 GB, free: 72.3 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-05/11.55, allocations: 10.34 kB / 4.249 GB, free: 72.3 MB / 0.9168 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01845/11.57, allocations: 10.92 MB / 4.26 GB, free: 71.31 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007606/11.57, allocations: 1.345 MB / 4.261 GB, free: 69.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/11.57, allocations: 69.03 kB / 4.261 GB, free: 69.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/11.57, allocations: 1.025 MB / 4.262 GB, free: 69.54 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005241/11.58, allocations: 1.446 MB / 4.264 GB, free: 69.54 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/11.61, allocations: 33.1 MB / 4.296 GB, free: 58.91 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01604/11.62, allocations: 1.478 MB / 4.298 GB, free: 58.69 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002249/11.62, allocations: 274.4 kB / 4.298 GB, free: 58.69 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/11.62, allocations: 3.969 kB / 4.298 GB, free: 58.69 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02324/11.65, allocations: 9.824 MB / 4.307 GB, free: 58.33 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003837/11.65, allocations: 68.83 kB / 4.308 GB, free: 58.33 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/11.65, allocations: 0.9878 MB / 4.309 GB, free: 58.17 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006326/11.66, allocations: 1.447 MB / 4.31 GB, free: 58.17 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02621/11.68, allocations: 33.35 MB / 4.342 GB, free: 47.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/11.7, allocations: 1.375 MB / 4.344 GB, free: 47.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/11.7, allocations: 266.8 kB / 4.344 GB, free: 47.38 MB / 0.948 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.01535/11.71, allocations: 5.395 MB / 4.349 GB, free: 47.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006006/11.72, allocations: 1.161 MB / 4.35 GB, free: 46.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/11.74, allocations: 8.379 MB / 4.359 GB, free: 46.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/11.74, allocations: 45.16 kB / 4.359 GB, free: 46.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/11.74, allocations: 11.12 kB / 4.359 GB, free: 46.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008628/11.75, allocations: 6.5 MB / 4.365 GB, free: 45.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07438/11.82, allocations: 43.93 MB / 4.408 GB, free: 35.39 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/11.82, allocations: 12.25 kB / 4.408 GB, free: 35.39 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004055/11.83, allocations: 1.065 MB / 4.409 GB, free: 35.37 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/11.83, allocations: 0.9686 MB / 4.41 GB, free: 34.97 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006068/11.83, allocations: 156.2 kB / 4.41 GB, free: 34.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0264/11.85, allocations: 33.21 MB / 4.443 GB, free: 36.78 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/11.85, allocations: 21.58 kB / 4.443 GB, free: 36.78 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02516/11.88, allocations: 12.18 MB / 4.454 GB, free: 31.4 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01072/11.89, allocations: 2.859 MB / 4.457 GB, free: 29.76 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005895/11.9, allocations: 131.3 kB / 4.457 GB, free: 29.68 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01162/11.91, allocations: 0.656 MB / 4.458 GB, free: 29.55 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001752/11.91, allocations: 353.4 kB / 4.458 GB, free: 29.5 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001478/11.91, allocations: 198.5 kB / 4.459 GB, free: 29.46 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.02958/11.94, allocations: 11.55 MB / 4.47 GB, free: 25.52 MB / 0.9949 GB Notification: Performance of sort global known variables: time 5.31e-07/11.94, allocations: 1.094 kB / 4.47 GB, free: 25.52 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.03546/11.98, allocations: 6.469 MB / 4.476 GB, free: 24.57 MB / 0.9949 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.005345/11.98, allocations: 1.397 MB / 4.478 GB, free: 24.29 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.03178/12.01, allocations: 18.03 MB / 4.495 GB, free: 14.68 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 2.262e-05/12.01, allocations: 6.844 kB / 4.495 GB, free: 14.67 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.007868/12.02, allocations: 5.691 MB / 4.501 GB, free: 11.18 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07312/12.09, allocations: 8.966 MB / 4.509 GB, free: 5.938 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.642/12.74, allocations: 33.31 MB / 4.542 GB, free: 150.6 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01818/12.75, allocations: 9.31 MB / 4.551 GB, free: 149.6 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.02315/12.78, allocations: 6.766 MB / 4.558 GB, free: 149.4 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005241/12.78, allocations: 0.9846 MB / 4.559 GB, free: 149.4 MB / 0.9949 GB Notification: Performance of SimCode: time 8.51e-07/12.78, allocations: 0 / 4.559 GB, free: 149.4 MB / 0.9949 GB Notification: Performance of Templates: time 0.4483/13.23, allocations: 314.1 MB / 4.865 GB, free: 2.242 MB / 1.011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)