Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",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.27/2.27, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001455/0.001455, allocations: 176.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009788/0.0009788, allocations: 99.69 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.641e-05/4.669e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.616, allocations: 442.7 MB / 1.651 GB, free: 7.258 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.617, allocations: 123 kB / 1.651 GB, free: 7.188 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.916/6.533, allocations: 1.066 GB / 2.717 GB, free: 171.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/6.533, allocations: 0 / 2.717 GB, free: 171.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005679/6.533, allocations: 81.41 kB / 2.717 GB, free: 171.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01136/6.545, allocations: 3.057 MB / 2.72 GB, free: 170.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/6.545, allocations: 10.72 kB / 2.72 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001242/6.546, allocations: 286 kB / 2.72 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/6.548, allocations: 372.3 kB / 2.721 GB, free: 170.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009154/6.558, allocations: 2.938 MB / 2.723 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/6.558, allocations: 160.7 kB / 2.724 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009597/6.559, allocations: 220.6 kB / 2.724 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006799/6.566, allocations: 2.078 MB / 2.726 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/6.566, allocations: 3.062 kB / 2.726 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005123/6.566, allocations: 82.25 kB / 2.726 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/6.566, allocations: 51.16 kB / 2.726 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004022/6.57, allocations: 1.578 MB / 2.727 GB, free: 169.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01731/6.588, allocations: 8.843 MB / 2.736 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/6.59, allocations: 1.331 MB / 2.737 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/6.591, allocations: 0.855 MB / 2.738 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/6.593, allocations: 2.92 MB / 2.741 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/6.593, allocations: 53.5 kB / 2.741 GB, free: 162.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 3.697e-06/6.593, allocations: 2.281 kB / 2.741 GB, free: 162.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.004669/6.598, allocations: 1.553 MB / 2.743 GB, free: 162.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/6.598, allocations: 97.56 kB / 2.743 GB, free: 162.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005504/6.604, allocations: 2.011 MB / 2.745 GB, free: 162.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/6.604, allocations: 55.58 kB / 2.745 GB, free: 162.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/6.605, allocations: 1.202 MB / 2.746 GB, free: 162 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/6.606, allocations: 0.514 MB / 2.746 GB, free: 161.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/6.606, allocations: 37.3 kB / 2.746 GB, free: 161.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001626/6.606, allocations: 371.7 kB / 2.747 GB, free: 161.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/6.608, allocations: 0.5129 MB / 2.747 GB, free: 161.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/6.609, allocations: 0.8796 MB / 2.748 GB, free: 161 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/6.61, allocations: 0.6756 MB / 2.749 GB, free: 160.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/6.61, allocations: 0 / 2.749 GB, free: 160.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004403/6.615, allocations: 1.947 MB / 2.751 GB, free: 160.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008513/6.616, allocations: 2.726 MB / 2.753 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/6.616, allocations: 15.17 kB / 2.753 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006444/6.616, allocations: 229.5 kB / 2.754 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/6.617, allocations: 353.3 kB / 2.754 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/6.622, allocations: 7.045 MB / 2.761 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/6.625, allocations: 272.7 kB / 2.761 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/6.625, allocations: 72.3 kB / 2.761 GB, free: 151.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/6.625, allocations: 5.125 kB / 2.761 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003311/6.629, allocations: 1.669 MB / 2.763 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/6.629, allocations: 18.53 kB / 2.763 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/6.629, allocations: 213.5 kB / 2.763 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/6.63, allocations: 358.7 kB / 2.763 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/6.636, allocations: 8.953 MB / 2.772 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/6.64, allocations: 265.6 kB / 2.772 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003601/6.64, allocations: 75.42 kB / 2.772 GB, free: 143.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006189/6.641, allocations: 198.1 kB / 2.773 GB, free: 142.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/6.642, allocations: 261.2 kB / 2.773 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/6.646, allocations: 2.013 MB / 2.775 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/6.646, allocations: 19.44 kB / 2.775 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/6.646, allocations: 0 / 2.775 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002608/6.649, allocations: 1.657 MB / 2.777 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/6.659, allocations: 4.489 MB / 2.781 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/6.659, allocations: 2.188 kB / 2.781 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/6.66, allocations: 271.7 kB / 2.781 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/6.661, allocations: 223.4 kB / 2.781 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/6.661, allocations: 40.89 kB / 2.781 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/6.665, allocations: 7.051 MB / 2.788 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/6.665, allocations: 7.047 kB / 2.788 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/6.67, allocations: 2.74 MB / 2.791 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/6.672, allocations: 0.5776 MB / 2.792 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/6.673, allocations: 28.44 kB / 2.792 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/6.676, allocations: 153.5 kB / 2.792 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/6.676, allocations: 111.5 kB / 2.792 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/6.676, allocations: 55.05 kB / 2.792 GB, free: 134.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003751/6.68, allocations: 1.539 MB / 2.793 GB, free: 134.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/6.68, allocations: 2.094 kB / 2.793 GB, free: 134.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009475/6.689, allocations: 1.983 MB / 2.795 GB, free: 133.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01094/6.7, allocations: 5.137 MB / 2.8 GB, free: 132.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006534/6.707, allocations: 3.631 MB / 2.804 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/6.707, allocations: 2.656 kB / 2.804 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/6.709, allocations: 1.229 MB / 2.805 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008662/6.717, allocations: 1.328 MB / 2.806 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/6.737, allocations: 4.874 MB / 2.811 GB, free: 129.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/6.741, allocations: 1.808 MB / 2.813 GB, free: 128.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007531/6.748, allocations: 0.7919 MB / 2.814 GB, free: 128.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003213/6.751, allocations: 1.107 MB / 2.815 GB, free: 128.6 MB / 1.167 GB Notification: Performance of SimCode: time 3.176e-06/6.752, allocations: 0 / 2.815 GB, free: 128.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1686/6.92, allocations: 95.96 MB / 2.908 GB, free: 76.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/6.92, allocations: 281.9 kB / 2.909 GB, free: 76.17 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.918/12.84, allocations: 0 / 2.909 GB, free: 76.17 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat does not exist to compare? outputFormat=mat