Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.548/2.548, allocations: 390.3 MB / 405.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 189.6 kB / 498.1 MB, free: 5.781 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.2 MB / 0.7949 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 102.9 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004706, allocations: 8.406 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.34, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.575, allocations: 426 MB / 1.639 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/1.576, allocations: 117.9 kB / 1.639 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 12.09/13.67, allocations: 2.913 GB / 4.552 GB, free: 175.2 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.944e-06/13.67, allocations: 0 / 4.552 GB, free: 175.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003547/13.67, allocations: 310.6 kB / 4.553 GB, free: 175.1 MB / 1.198 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.06099/13.73, allocations: 14.3 MB / 4.567 GB, free: 170.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/13.73, allocations: 10.59 kB / 4.567 GB, free: 170.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/13.74, allocations: 1.629 MB / 4.568 GB, free: 169.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05437/13.8, allocations: 18.99 MB / 4.587 GB, free: 167.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008786/13.8, allocations: 0.632 MB / 4.587 GB, free: 167.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00435/13.8, allocations: 0.8507 MB / 4.588 GB, free: 167.5 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0375/13.84, allocations: 11.96 MB / 4.6 GB, free: 166.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009969/13.84, allocations: 27.34 kB / 4.6 GB, free: 166.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004576/13.85, allocations: 356.6 kB / 4.6 GB, free: 166.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/13.85, allocations: 206.1 kB / 4.6 GB, free: 166.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/13.88, allocations: 10.27 MB / 4.61 GB, free: 166.5 MB / 1.198 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.1095/13.99, allocations: 51.4 MB / 4.661 GB, free: 151.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/14, allocations: 5.843 MB / 4.666 GB, free: 151.8 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/14, allocations: 2.181 MB / 4.668 GB, free: 149.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/14, allocations: 103.7 kB / 4.669 GB, free: 149.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=482): time 7.004e-06/14, allocations: 1.375 kB / 4.669 GB, free: 149.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=482): time 0.02653/14.02, allocations: 12.58 MB / 4.681 GB, free: 146.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/14.03, allocations: 363.2 kB / 4.681 GB, free: 146.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03873/14.06, allocations: 14.82 MB / 4.696 GB, free: 145.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002035/14.07, allocations: 124.7 kB / 4.696 GB, free: 145.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01033/14.08, allocations: 6.03 MB / 4.702 GB, free: 144 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003518/14.08, allocations: 1.704 MB / 4.703 GB, free: 142.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/14.08, allocations: 128 kB / 4.703 GB, free: 142.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000569/14.08, allocations: 0.5734 MB / 4.704 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005948/14.09, allocations: 3.508 MB / 4.707 GB, free: 142.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00897/14.1, allocations: 5.535 MB / 4.713 GB, free: 140.5 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009011/14.11, allocations: 4.576 MB / 4.717 GB, free: 140.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.146e-05/14.11, allocations: 10.81 kB / 4.717 GB, free: 140.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02631/14.13, allocations: 10.92 MB / 4.728 GB, free: 139.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005218/14.14, allocations: 25.35 MB / 4.753 GB, free: 113.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003287/14.14, allocations: 65.56 kB / 4.753 GB, free: 113.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/14.14, allocations: 1.026 MB / 4.754 GB, free: 113.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/14.15, allocations: 1.449 MB / 4.755 GB, free: 113.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/14.17, allocations: 33.32 MB / 4.788 GB, free: 86.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.017/14.19, allocations: 1.489 MB / 4.789 GB, free: 86.08 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002306/14.19, allocations: 273.1 kB / 4.79 GB, free: 86.08 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/14.19, allocations: 6.156 kB / 4.79 GB, free: 86.08 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02393/14.21, allocations: 9.826 MB / 4.799 GB, free: 83.25 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003545/14.21, allocations: 66.23 kB / 4.799 GB, free: 83.25 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/14.21, allocations: 0.9919 MB / 4.8 GB, free: 82.85 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006357/14.22, allocations: 1.447 MB / 4.802 GB, free: 82.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/14.24, allocations: 33.62 MB / 4.834 GB, free: 68.55 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01685/14.26, allocations: 1.391 MB / 4.836 GB, free: 68.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002231/14.26, allocations: 274.1 kB / 4.836 GB, free: 68.05 MB / 1.214 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.01364/14.28, allocations: 5.417 MB / 4.841 GB, free: 65.86 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007801/14.28, allocations: 1.173 MB / 4.842 GB, free: 65.24 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/14.3, allocations: 8.391 MB / 4.851 GB, free: 62 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/14.3, allocations: 46.06 kB / 4.851 GB, free: 62 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/14.3, allocations: 11.28 kB / 4.851 GB, free: 62 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009559/14.31, allocations: 6.499 MB / 4.857 GB, free: 59.5 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08587/14.4, allocations: 44.15 MB / 4.9 GB, free: 27.71 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/14.4, allocations: 9.375 kB / 4.9 GB, free: 27.71 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004678/14.4, allocations: 1.065 MB / 4.901 GB, free: 27.64 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/14.41, allocations: 0.981 MB / 4.902 GB, free: 27.23 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009244/14.41, allocations: 153.6 kB / 4.902 GB, free: 27.16 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02785/14.44, allocations: 33.48 MB / 4.935 GB, free: 28.78 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/14.44, allocations: 21.12 kB / 4.935 GB, free: 28.77 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02849/14.46, allocations: 15.75 MB / 4.95 GB, free: 19.49 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01344/14.48, allocations: 2.962 MB / 4.953 GB, free: 17.8 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007475/14.48, allocations: 136.4 kB / 4.953 GB, free: 17.73 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01483/14.5, allocations: 0.6643 MB / 4.954 GB, free: 17.59 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002183/14.5, allocations: 358.6 kB / 4.954 GB, free: 17.52 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001743/14.5, allocations: 194.7 kB / 4.955 GB, free: 17.49 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.03216/14.54, allocations: 12.15 MB / 4.966 GB, free: 10.81 MB / 1.245 GB Notification: Performance of sort global known variables: time 6.21e-07/14.54, allocations: 0 / 4.966 GB, free: 10.81 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04546/14.58, allocations: 6.498 MB / 4.973 GB, free: 4.332 MB / 1.245 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.006541/14.59, allocations: 1.396 MB / 4.974 GB, free: 3.305 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.8737/15.46, allocations: 18.8 MB / 4.993 GB, free: 191.6 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 3.293e-05/15.46, allocations: 6.625 kB / 4.993 GB, free: 191.6 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/15.47, allocations: 5.688 MB / 4.998 GB, free: 189.4 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05414/15.53, allocations: 7.911 MB / 5.006 GB, free: 189.3 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07941/15.61, allocations: 33.4 MB / 5.038 GB, free: 178.9 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02279/15.63, allocations: 9.574 MB / 5.048 GB, free: 177.9 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03934/15.67, allocations: 6.797 MB / 5.054 GB, free: 177.5 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007012/15.68, allocations: 0.8827 MB / 5.055 GB, free: 177.5 MB / 1.245 GB Notification: Performance of SimCode: time 2.384e-06/15.68, allocations: 0 / 5.055 GB, free: 177.5 MB / 1.245 GB Notification: Performance of Templates: time 0.4308/16.11, allocations: 272.2 MB / 5.321 GB, free: 71.98 MB / 1.245 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches