Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.991/1.991, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001194/0.001194, allocations: 173.1 kB / 377.1 MB, free: 1.52 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.716/1.716, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 98.44 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2914, allocations: 116.3 MB / 0.9884 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.639/1.931, allocations: 414.8 MB / 1.394 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/1.931, allocations: 118.9 kB / 1.394 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.36/12.29, allocations: 2.798 GB / 4.191 GB, free: 99.54 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.973e-06/12.29, allocations: 0 / 4.191 GB, free: 99.54 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003668/12.3, allocations: 304 kB / 4.192 GB, free: 99.49 MB / 0.9792 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.06256/12.36, allocations: 14.24 MB / 4.205 GB, free: 90.51 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/12.36, allocations: 7.875 kB / 4.205 GB, free: 90.51 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006648/12.37, allocations: 1.153 MB / 4.207 GB, free: 89.69 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/12.38, allocations: 1.629 MB / 4.208 GB, free: 88.89 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05077/12.43, allocations: 18.77 MB / 4.226 GB, free: 71.13 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007204/12.43, allocations: 0.6398 MB / 4.227 GB, free: 70.49 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00475/12.44, allocations: 0.8592 MB / 4.228 GB, free: 69.63 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/12.47, allocations: 11.96 MB / 4.24 GB, free: 57.38 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004088/12.47, allocations: 31.73 kB / 4.24 GB, free: 57.35 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/12.47, allocations: 359.9 kB / 4.24 GB, free: 57 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/12.47, allocations: 204 kB / 4.24 GB, free: 56.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/12.5, allocations: 10.26 MB / 4.25 GB, free: 46.52 MB / 0.9792 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.09898/12.6, allocations: 51.44 MB / 4.3 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/12.61, allocations: 5.845 MB / 4.306 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/12.61, allocations: 2.179 MB / 4.308 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/12.61, allocations: 98.59 kB / 4.308 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=482): time 6.983e-06/12.61, allocations: 0 / 4.308 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of matching and sorting (n=482): time 1.448/14.06, allocations: 12.57 MB / 4.321 GB, free: 125.8 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/14.06, allocations: 368.6 kB / 4.321 GB, free: 125.5 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04169/14.1, allocations: 14.73 MB / 4.335 GB, free: 124.9 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002226/14.1, allocations: 129.4 kB / 4.336 GB, free: 124.9 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.008867/14.11, allocations: 6.014 MB / 4.341 GB, free: 124.2 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003316/14.11, allocations: 1.709 MB / 4.343 GB, free: 123.4 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007026/14.11, allocations: 126.1 kB / 4.343 GB, free: 123.4 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.000488/14.11, allocations: 0.5722 MB / 4.344 GB, free: 123 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005405/14.12, allocations: 3.505 MB / 4.347 GB, free: 123 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007714/14.13, allocations: 5.722 MB / 4.353 GB, free: 120.8 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007404/14.14, allocations: 4.599 MB / 4.357 GB, free: 120.7 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.445e-05/14.14, allocations: 9.906 kB / 4.357 GB, free: 120.7 MB / 0.9949 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02306/14.16, allocations: 10.93 MB / 4.368 GB, free: 119.8 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.006796/14.17, allocations: 25.4 MB / 4.393 GB, free: 93.49 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004405/14.17, allocations: 67.3 kB / 4.393 GB, free: 93.49 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/14.17, allocations: 1.024 MB / 4.394 GB, free: 93.33 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00673/14.18, allocations: 1.448 MB / 4.395 GB, free: 93.33 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/14.2, allocations: 33.32 MB / 4.428 GB, free: 66.72 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/14.21, allocations: 1.516 MB / 4.429 GB, free: 66.5 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/14.22, allocations: 276.1 kB / 4.429 GB, free: 66.5 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/14.22, allocations: 6.828 kB / 4.429 GB, free: 66.5 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01677/14.23, allocations: 9.828 MB / 4.439 GB, free: 66.13 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/14.23, allocations: 71.38 kB / 4.439 GB, free: 66.13 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/14.24, allocations: 0.9899 MB / 4.44 GB, free: 65.98 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/14.24, allocations: 1.449 MB / 4.442 GB, free: 65.98 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02892/14.27, allocations: 33.62 MB / 4.474 GB, free: 55.37 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/14.29, allocations: 1.409 MB / 4.476 GB, free: 55.19 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002621/14.29, allocations: 275.1 kB / 4.476 GB, free: 55.19 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.01897/14.31, allocations: 5.399 MB / 4.481 GB, free: 55 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007491/14.32, allocations: 1.163 MB / 4.482 GB, free: 54.38 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/14.34, allocations: 8.387 MB / 4.491 GB, free: 53.91 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/14.34, allocations: 48.33 kB / 4.491 GB, free: 53.91 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/14.34, allocations: 10.75 kB / 4.491 GB, free: 53.91 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01239/14.35, allocations: 6.497 MB / 4.497 GB, free: 53.57 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07838/14.43, allocations: 44.13 MB / 4.54 GB, free: 46.79 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/14.43, allocations: 11.12 kB / 4.54 GB, free: 46.79 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004629/14.43, allocations: 1.061 MB / 4.541 GB, free: 46.79 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/14.44, allocations: 0.9759 MB / 4.542 GB, free: 46.64 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006611/14.44, allocations: 151.7 kB / 4.542 GB, free: 46.64 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02786/14.46, allocations: 33.48 MB / 4.575 GB, free: 36.01 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-05/14.47, allocations: 18.75 kB / 4.575 GB, free: 36 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/14.49, allocations: 15.71 MB / 4.59 GB, free: 42.82 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01316/14.51, allocations: 2.96 MB / 4.593 GB, free: 41.18 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007118/14.51, allocations: 129.6 kB / 4.593 GB, free: 41.11 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01329/14.53, allocations: 0.6669 MB / 4.594 GB, free: 40.98 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/14.53, allocations: 359.1 kB / 4.594 GB, free: 40.92 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001071/14.53, allocations: 198 kB / 4.594 GB, free: 40.89 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0299/14.56, allocations: 12.07 MB / 4.606 GB, free: 36.74 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.92e-07/14.56, allocations: 0 / 4.606 GB, free: 36.74 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04169/14.6, allocations: 6.514 MB / 4.613 GB, free: 35.78 MB / 1.057 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.03097/14.63, allocations: 17.63 MB / 4.63 GB, free: 26.06 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02977/14.66, allocations: 18.02 MB / 4.647 GB, free: 16.49 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.041e-05/14.66, allocations: 5.219 kB / 4.647 GB, free: 16.49 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/14.67, allocations: 5.687 MB / 4.653 GB, free: 13 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04959/14.72, allocations: 7.962 MB / 4.661 GB, free: 11.71 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8348/15.56, allocations: 71.43 MB / 4.731 GB, free: 160.2 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02436/15.58, allocations: 9.537 MB / 4.74 GB, free: 159.2 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03365/15.61, allocations: 6.743 MB / 4.746 GB, free: 159.1 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0167/15.63, allocations: 5.619 MB / 4.752 GB, free: 159.1 MB / 1.073 GB Notification: Performance of SimCode: time 1.082e-06/15.63, allocations: 0 / 4.752 GB, free: 159.1 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/16.91, allocations: 398.4 MB / 5.141 GB, free: 194.5 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/16.91, allocations: 281.2 kB / 5.141 GB, free: 194.1 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/36.77, allocations: 0 / 5.141 GB, free: 194.1 MB / 1.104 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)