Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.435/2.435, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001723/0.001723, allocations: 188 kB / 0.4901 GB, free: 2.25 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.692/1.692, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001056/0.001056, allocations: 96.31 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 11.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3406, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.512, allocations: 426.8 MB / 1.646 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/1.512, allocations: 118.3 kB / 1.646 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 10.92/12.43, allocations: 2.913 GB / 4.56 GB, free: 168.4 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.965e-06/12.43, allocations: 0 / 4.56 GB, free: 168.4 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003585/12.43, allocations: 315.9 kB / 4.56 GB, free: 168.4 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.05905/12.49, allocations: 14.3 MB / 4.574 GB, free: 163.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/12.49, allocations: 8.094 kB / 4.574 GB, free: 163.9 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007785/12.5, allocations: 1.15 MB / 4.575 GB, free: 163.8 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/12.51, allocations: 1.629 MB / 4.577 GB, free: 163.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05493/12.57, allocations: 19 MB / 4.595 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008287/12.57, allocations: 0.6259 MB / 4.596 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/12.57, allocations: 0.8529 MB / 4.597 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/12.61, allocations: 11.95 MB / 4.608 GB, free: 160.3 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00108/12.61, allocations: 34.03 kB / 4.608 GB, free: 160.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0042/12.62, allocations: 354.8 kB / 4.609 GB, free: 160.3 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/12.62, allocations: 206.6 kB / 4.609 GB, free: 160.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/12.64, allocations: 10.26 MB / 4.619 GB, free: 160.2 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.1033/12.75, allocations: 51.4 MB / 4.669 GB, free: 145.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/12.76, allocations: 5.843 MB / 4.675 GB, free: 145.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/12.76, allocations: 2.184 MB / 4.677 GB, free: 143.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.314e-05/12.76, allocations: 99.14 kB / 4.677 GB, free: 143.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=482): time 7.614e-06/12.76, allocations: 0 / 4.677 GB, free: 143.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=482): time 0.02491/12.78, allocations: 12.58 MB / 4.689 GB, free: 140.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/12.78, allocations: 361.4 kB / 4.69 GB, free: 139.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03572/12.82, allocations: 14.82 MB / 4.704 GB, free: 139.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/12.82, allocations: 132.8 kB / 4.704 GB, free: 139.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01067/12.83, allocations: 6.031 MB / 4.71 GB, free: 137.7 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003346/12.84, allocations: 1.705 MB / 4.712 GB, free: 136.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007725/12.84, allocations: 125 kB / 4.712 GB, free: 136.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005073/12.84, allocations: 0.577 MB / 4.713 GB, free: 136.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005218/12.84, allocations: 3.502 MB / 4.716 GB, free: 136.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006879/12.85, allocations: 5.54 MB / 4.721 GB, free: 134.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007147/12.86, allocations: 4.569 MB / 4.726 GB, free: 134.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.194e-05/12.86, allocations: 9.562 kB / 4.726 GB, free: 134.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02375/12.88, allocations: 10.93 MB / 4.737 GB, free: 133.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005138/12.89, allocations: 25.35 MB / 4.761 GB, free: 107 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003131/12.89, allocations: 66.12 kB / 4.761 GB, free: 107 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/12.89, allocations: 1.026 MB / 4.762 GB, free: 106.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006623/12.89, allocations: 1.446 MB / 4.764 GB, free: 106.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/12.92, allocations: 33.32 MB / 4.796 GB, free: 96.23 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/12.94, allocations: 1.495 MB / 4.798 GB, free: 95.81 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/12.94, allocations: 268.1 kB / 4.798 GB, free: 95.81 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/12.94, allocations: 3.594 kB / 4.798 GB, free: 95.81 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01813/12.96, allocations: 9.835 MB / 4.808 GB, free: 95.45 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002887/12.96, allocations: 64.66 kB / 4.808 GB, free: 95.45 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/12.96, allocations: 0.993 MB / 4.809 GB, free: 95.29 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/12.96, allocations: 1.446 MB / 4.81 GB, free: 95.29 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02728/12.99, allocations: 33.63 MB / 4.843 GB, free: 81.31 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01562/13.01, allocations: 1.379 MB / 4.844 GB, free: 80.86 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002142/13.01, allocations: 275.2 kB / 4.845 GB, free: 80.81 MB / 1.229 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.01372/13.02, allocations: 5.418 MB / 4.85 GB, free: 78.62 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005527/13.03, allocations: 1.171 MB / 4.851 GB, free: 78 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/13.05, allocations: 8.396 MB / 4.859 GB, free: 74.78 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/13.05, allocations: 54.19 kB / 4.859 GB, free: 74.78 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/13.05, allocations: 10.94 kB / 4.859 GB, free: 74.78 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01003/13.06, allocations: 6.486 MB / 4.866 GB, free: 72.31 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07459/13.13, allocations: 44.16 MB / 4.909 GB, free: 40.62 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/13.13, allocations: 10.5 kB / 4.909 GB, free: 40.62 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004749/13.14, allocations: 1.067 MB / 4.91 GB, free: 40.57 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/13.14, allocations: 0.9754 MB / 4.911 GB, free: 40.17 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009477/13.14, allocations: 154.3 kB / 4.911 GB, free: 40.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/13.17, allocations: 33.48 MB / 4.944 GB, free: 25.72 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/13.17, allocations: 15.09 kB / 4.944 GB, free: 25.71 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02471/13.19, allocations: 15.75 MB / 4.959 GB, free: 32.43 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01289/13.2, allocations: 2.967 MB / 4.962 GB, free: 30.74 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006449/13.21, allocations: 132 kB / 4.962 GB, free: 30.66 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01405/13.22, allocations: 0.6619 MB / 4.963 GB, free: 30.53 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00209/13.23, allocations: 359.3 kB / 4.963 GB, free: 30.46 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000855/13.23, allocations: 189.1 kB / 4.963 GB, free: 30.43 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.03261/13.26, allocations: 12.15 MB / 4.975 GB, free: 26.25 MB / 1.26 GB Notification: Performance of sort global known variables: time 3.4e-07/13.26, allocations: 2.062 kB / 4.975 GB, free: 26.25 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.03719/13.3, allocations: 6.502 MB / 4.981 GB, free: 22.43 MB / 1.26 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.02812/13.33, allocations: 17.61 MB / 4.999 GB, free: 6.418 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 1.413/14.74, allocations: 18.01 MB / 5.016 GB, free: 203.3 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 2.523e-05/14.74, allocations: 8.453 kB / 5.016 GB, free: 203.3 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.009875/14.75, allocations: 5.692 MB / 5.022 GB, free: 201 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04474/14.79, allocations: 7.917 MB / 5.029 GB, free: 201 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/14.9, allocations: 71.42 MB / 5.099 GB, free: 156.6 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02325/14.92, allocations: 9.578 MB / 5.109 GB, free: 155.6 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.04128/14.96, allocations: 6.793 MB / 5.115 GB, free: 155.2 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0205/14.98, allocations: 5.651 MB / 5.121 GB, free: 155.1 MB / 1.261 GB Notification: Performance of SimCode: time 1.282e-06/14.99, allocations: 0 / 5.121 GB, free: 155.1 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/16.36, allocations: 397.2 MB / 5.509 GB, free: 218.7 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/16.36, allocations: 299.2 kB / 5.509 GB, free: 218.4 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/35.3, allocations: 0 / 5.509 GB, free: 218.4 MB / 1.307 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)