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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001449/0.001449, allocations: 190.1 kB / 498.1 MB, free: 5.715 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.558/1.558, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.000969/0.0009691, allocations: 94.19 kB / 0.9346 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 6.969 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.41, allocations: 426 MB / 1.639 GB, free: 1.051 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.41, allocations: 119.5 kB / 1.639 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.94/12.35, allocations: 2.913 GB / 4.553 GB, free: 178.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.124e-06/12.35, allocations: 0 / 4.553 GB, free: 178.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003364/12.35, allocations: 311.7 kB / 4.553 GB, free: 178.6 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.05936/12.41, allocations: 14.29 MB / 4.567 GB, free: 174.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/12.41, allocations: 12.03 kB / 4.567 GB, free: 174.7 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007581/12.42, allocations: 1.156 MB / 4.568 GB, free: 174.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/12.43, allocations: 1.631 MB / 4.57 GB, free: 173.8 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04983/12.48, allocations: 18.99 MB / 4.588 GB, free: 172.1 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000814/12.48, allocations: 0.629 MB / 4.589 GB, free: 172 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00423/12.49, allocations: 0.85 MB / 4.59 GB, free: 172 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.037/12.52, allocations: 11.96 MB / 4.601 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000646/12.52, allocations: 36.39 kB / 4.601 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003654/12.53, allocations: 357.7 kB / 4.602 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/12.53, allocations: 206.4 kB / 4.602 GB, free: 171.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/12.55, allocations: 10.26 MB / 4.612 GB, free: 171 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.1009/12.65, allocations: 51.39 MB / 4.662 GB, free: 156.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/12.66, allocations: 5.844 MB / 4.668 GB, free: 156.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002007/12.67, allocations: 2.185 MB / 4.67 GB, free: 153.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/12.67, allocations: 94.08 kB / 4.67 GB, free: 153.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=482): time 7.815e-06/12.67, allocations: 1.5 kB / 4.67 GB, free: 153.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=482): time 0.02613/12.69, allocations: 12.58 MB / 4.682 GB, free: 151 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/12.69, allocations: 360 kB / 4.683 GB, free: 150.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0353/12.73, allocations: 14.83 MB / 4.697 GB, free: 150 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001932/12.73, allocations: 126.7 kB / 4.697 GB, free: 149.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.009606/12.74, allocations: 6.042 MB / 4.703 GB, free: 148.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003345/12.74, allocations: 1.702 MB / 4.705 GB, free: 147.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/12.74, allocations: 130.9 kB / 4.705 GB, free: 147.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005437/12.74, allocations: 0.5713 MB / 4.705 GB, free: 147 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/12.75, allocations: 3.503 MB / 4.709 GB, free: 147 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007185/12.76, allocations: 5.533 MB / 4.714 GB, free: 145 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007403/12.76, allocations: 4.571 MB / 4.719 GB, free: 144.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.7e-05/12.76, allocations: 17.72 kB / 4.719 GB, free: 144.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02264/12.79, allocations: 10.93 MB / 4.729 GB, free: 143.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.004555/12.79, allocations: 25.34 MB / 4.754 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002588/12.79, allocations: 74.47 kB / 4.754 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/12.79, allocations: 1.019 MB / 4.755 GB, free: 117.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006079/12.8, allocations: 1.449 MB / 4.757 GB, free: 117.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/12.82, allocations: 33.32 MB / 4.789 GB, free: 91.02 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01827/12.84, allocations: 1.487 MB / 4.791 GB, free: 90.59 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/12.84, allocations: 273 kB / 4.791 GB, free: 90.59 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/12.84, allocations: 6.5 kB / 4.791 GB, free: 90.59 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01534/12.86, allocations: 9.834 MB / 4.8 GB, free: 88.52 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002233/12.86, allocations: 67.92 kB / 4.801 GB, free: 88.52 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/12.86, allocations: 0.9922 MB / 4.802 GB, free: 88.12 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005276/12.86, allocations: 1.446 MB / 4.803 GB, free: 88.07 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/12.89, allocations: 33.62 MB / 4.836 GB, free: 73.82 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/12.9, allocations: 1.388 MB / 4.837 GB, free: 73.37 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/12.91, allocations: 273.3 kB / 4.837 GB, free: 73.32 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.01225/12.92, allocations: 5.419 MB / 4.843 GB, free: 71.13 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004709/12.92, allocations: 1.166 MB / 4.844 GB, free: 70.52 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/12.94, allocations: 8.395 MB / 4.852 GB, free: 67.3 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/12.94, allocations: 43.62 kB / 4.852 GB, free: 67.3 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/12.94, allocations: 13.81 kB / 4.852 GB, free: 67.3 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008453/12.95, allocations: 6.496 MB / 4.858 GB, free: 64.83 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06643/13.01, allocations: 44.16 MB / 4.902 GB, free: 33.05 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/13.01, allocations: 14.41 kB / 4.902 GB, free: 33.05 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0044/13.02, allocations: 1.06 MB / 4.903 GB, free: 32.98 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/13.02, allocations: 0.9821 MB / 4.904 GB, free: 32.58 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005657/13.02, allocations: 151.8 kB / 4.904 GB, free: 32.51 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02599/13.05, allocations: 33.48 MB / 4.936 GB, free: 34.12 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/13.05, allocations: 18.34 kB / 4.936 GB, free: 34.12 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02147/13.07, allocations: 15.75 MB / 4.952 GB, free: 24.83 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01256/13.08, allocations: 2.965 MB / 4.955 GB, free: 23.14 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006167/13.09, allocations: 130.9 kB / 4.955 GB, free: 23.07 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01242/13.1, allocations: 0.6648 MB / 4.955 GB, free: 22.93 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/13.1, allocations: 366.8 kB / 4.956 GB, free: 22.86 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006334/13.1, allocations: 190.1 kB / 4.956 GB, free: 22.83 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02652/13.13, allocations: 12.15 MB / 4.968 GB, free: 18.56 MB / 1.245 GB Notification: Performance of sort global known variables: time 6.51e-07/13.13, allocations: 0 / 4.968 GB, free: 18.56 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.03523/13.16, allocations: 6.504 MB / 4.974 GB, free: 12.08 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.03981/13.2, allocations: 18.74 MB / 4.992 GB, free: 15.06 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.6333/13.84, allocations: 18.01 MB / 5.01 GB, free: 215.7 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-05/13.84, allocations: 5.5 kB / 5.01 GB, free: 215.7 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.009051/13.85, allocations: 5.696 MB / 5.016 GB, free: 213.6 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04464/13.89, allocations: 7.918 MB / 5.023 GB, free: 213.5 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09127/13.98, allocations: 71.42 MB / 5.093 GB, free: 169.2 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01671/14, allocations: 9.575 MB / 5.102 GB, free: 168.2 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.02481/14.02, allocations: 6.792 MB / 5.109 GB, free: 167.7 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01268/14.04, allocations: 5.662 MB / 5.115 GB, free: 167.7 MB / 1.261 GB Notification: Performance of SimCode: time 1.072e-06/14.04, allocations: 0 / 5.115 GB, free: 167.7 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.219/15.25, allocations: 397.2 MB / 5.503 GB, free: 221.3 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/15.25, allocations: 296 kB / 5.503 GB, free: 220.9 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/31.05, allocations: 3.078 kB / 5.503 GB, free: 220.9 MB / 1.307 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)