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.264/2.264, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001527/0.001528, allocations: 183.9 kB / 0.4901 GB, free: 2.242 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.634/1.634, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009739/0.0009737, allocations: 106.1 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 7.125 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3122, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.469, allocations: 442.7 MB / 1.662 GB, free: 3.254 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.47, allocations: 130.6 kB / 1.662 GB, free: 3.176 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.404/4.874, allocations: 1.069 GB / 2.731 GB, free: 17.08 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.996e-06/4.874, allocations: 0 / 2.731 GB, free: 17.08 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000494/4.874, allocations: 83.97 kB / 2.731 GB, free: 17 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.01334/4.888, allocations: 3.609 MB / 2.734 GB, free: 13.31 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/4.888, allocations: 8.031 kB / 2.734 GB, free: 13.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/4.889, allocations: 295.3 kB / 2.735 GB, free: 13 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/4.891, allocations: 373.8 kB / 2.735 GB, free: 12.63 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/4.903, allocations: 2.956 MB / 2.738 GB, free: 9.602 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/4.903, allocations: 164.1 kB / 2.738 GB, free: 9.438 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/4.904, allocations: 216 kB / 2.738 GB, free: 9.227 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007198/4.912, allocations: 2.116 MB / 2.74 GB, free: 7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.028e-05/4.912, allocations: 7.906 kB / 2.74 GB, free: 6.992 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/4.912, allocations: 88 kB / 2.74 GB, free: 6.906 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/4.912, allocations: 52 kB / 2.74 GB, free: 6.855 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/4.915, allocations: 1.609 MB / 2.742 GB, free: 5.23 MB / 1.167 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.01313/4.928, allocations: 8.836 MB / 2.751 GB, free: 12.06 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/4.93, allocations: 1.365 MB / 2.752 GB, free: 10.65 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/4.932, allocations: 2.918 MB / 2.755 GB, free: 7.086 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/4.933, allocations: 47.81 kB / 2.755 GB, free: 7.031 MB / 1.182 GB Notification: Performance of pre-optimization done (n=148): time 3.376e-06/4.933, allocations: 0 / 2.755 GB, free: 7.031 MB / 1.182 GB Notification: Performance of matching and sorting (n=148): time 0.005469/4.938, allocations: 2.712 MB / 2.758 GB, free: 4.184 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/4.938, allocations: 94.42 kB / 2.758 GB, free: 4.074 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/4.942, allocations: 2.04 MB / 2.76 GB, free: 2.023 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002421/4.942, allocations: 53.7 kB / 2.76 GB, free: 1.965 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/4.943, allocations: 1.205 MB / 2.761 GB, free: 0.7461 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005371/4.944, allocations: 0.516 MB / 2.761 GB, free: 228 kB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/4.944, allocations: 32 kB / 2.761 GB, free: 196 kB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.6918/5.635, allocations: 373.8 kB / 2.762 GB, free: 158.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/5.637, allocations: 0.5195 MB / 2.762 GB, free: 158.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/5.638, allocations: 0.9012 MB / 2.763 GB, free: 158.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/5.639, allocations: 0.6786 MB / 2.764 GB, free: 158.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/5.639, allocations: 3.031 kB / 2.764 GB, free: 158.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00368/5.643, allocations: 1.968 MB / 2.766 GB, free: 158 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005047/5.643, allocations: 2.736 MB / 2.768 GB, free: 155.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/5.643, allocations: 12.83 kB / 2.768 GB, free: 155.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/5.644, allocations: 226.6 kB / 2.769 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/5.645, allocations: 352.9 kB / 2.769 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/5.65, allocations: 7.077 MB / 2.776 GB, free: 148.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/5.653, allocations: 272.3 kB / 2.776 GB, free: 148.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/5.653, allocations: 71.09 kB / 2.776 GB, free: 148.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/5.653, allocations: 5.031 kB / 2.776 GB, free: 148.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003504/5.657, allocations: 1.701 MB / 2.778 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/5.657, allocations: 12.44 kB / 2.778 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/5.657, allocations: 211.8 kB / 2.778 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/5.659, allocations: 349 kB / 2.778 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/5.665, allocations: 9.023 MB / 2.787 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/5.667, allocations: 262.1 kB / 2.787 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/5.667, allocations: 70.42 kB / 2.788 GB, free: 140.7 MB / 1.182 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 () * Number of clocked 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.001772/5.669, allocations: 0.6435 MB / 2.788 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/5.67, allocations: 270.5 kB / 2.788 GB, free: 140.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/5.674, allocations: 2.044 MB / 2.79 GB, free: 140.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/5.674, allocations: 22.8 kB / 2.79 GB, free: 140.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/5.674, allocations: 0 / 2.79 GB, free: 140.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002423/5.677, allocations: 1.667 MB / 2.792 GB, free: 139.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009356/5.686, allocations: 4.524 MB / 2.796 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/5.686, allocations: 1.938 kB / 2.797 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/5.687, allocations: 275.2 kB / 2.797 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006346/5.688, allocations: 218.7 kB / 2.797 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/5.688, allocations: 42.14 kB / 2.797 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/5.693, allocations: 7.095 MB / 2.804 GB, free: 132.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/5.693, allocations: 2 kB / 2.804 GB, free: 132.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/5.699, allocations: 2.776 MB / 2.807 GB, free: 132.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/5.701, allocations: 0.5736 MB / 2.807 GB, free: 132 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/5.701, allocations: 32.19 kB / 2.807 GB, free: 132 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/5.703, allocations: 155.6 kB / 2.807 GB, free: 132 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/5.703, allocations: 105.4 kB / 2.807 GB, free: 132 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/5.703, allocations: 64.61 kB / 2.808 GB, free: 132 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003021/5.706, allocations: 1.566 MB / 2.809 GB, free: 131.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.11e-07/5.706, allocations: 0 / 2.809 GB, free: 131.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006698/5.713, allocations: 1.987 MB / 2.811 GB, free: 131.8 MB / 1.182 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 () * Number of clocked 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.007371/5.72, allocations: 5.171 MB / 2.816 GB, free: 130.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004765/5.725, allocations: 3.592 MB / 2.82 GB, free: 129.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/5.725, allocations: 0 / 2.82 GB, free: 129.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/5.727, allocations: 1.241 MB / 2.821 GB, free: 128.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006698/5.733, allocations: 1.332 MB / 2.822 GB, free: 128.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/5.746, allocations: 12.16 MB / 2.834 GB, free: 120.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/5.747, allocations: 1.803 MB / 2.836 GB, free: 120.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002968/5.75, allocations: 0.597 MB / 2.836 GB, free: 120 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/5.752, allocations: 1.153 MB / 2.837 GB, free: 120 MB / 1.182 GB Notification: Performance of SimCode: time 1.182e-06/5.752, allocations: 0 / 2.837 GB, free: 120 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/5.927, allocations: 90.22 MB / 2.926 GB, free: 116.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/5.927, allocations: 315 kB / 2.926 GB, free: 116.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.703/11.63, allocations: 0 / 2.926 GB, free: 116.1 MB / 1.182 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