Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",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.155/2.155, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001291/0.001291, allocations: 183.3 kB / 498.1 MB, free: 5.762 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.428/1.428, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008555/0.0008556, allocations: 98.73 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 10.75 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8958/1.145, allocations: 424.4 MB / 1.637 GB, free: 3.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.145, allocations: 127.3 kB / 1.638 GB, free: 3.441 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.519/2.664, allocations: 492.8 MB / 2.119 GB, free: 213.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.525e-06/2.664, allocations: 3.938 kB / 2.119 GB, free: 213.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002371/2.664, allocations: 47.98 kB / 2.119 GB, free: 213.8 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006192/2.67, allocations: 2.265 MB / 2.121 GB, free: 211.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/2.67, allocations: 11.98 kB / 2.121 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004718/2.671, allocations: 156.6 kB / 2.121 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/2.672, allocations: 217.8 kB / 2.121 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/2.676, allocations: 1.727 MB / 2.123 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/2.676, allocations: 86.08 kB / 2.123 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/2.676, allocations: 108 kB / 2.123 GB, free: 209.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/2.678, allocations: 1.073 MB / 2.124 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/2.678, allocations: 8 kB / 2.124 GB, free: 207.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/2.678, allocations: 44 kB / 2.124 GB, free: 207.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/2.678, allocations: 24 kB / 2.124 GB, free: 207.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/2.68, allocations: 0.8042 MB / 2.125 GB, free: 207.1 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.007801/2.687, allocations: 6.472 MB / 2.132 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/2.688, allocations: 0.5604 MB / 2.132 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/2.689, allocations: 1.267 MB / 2.133 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/2.689, allocations: 39.12 kB / 2.133 GB, free: 197.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 2.785e-06/2.689, allocations: 0 / 2.133 GB, free: 197.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001971/2.691, allocations: 1.158 MB / 2.134 GB, free: 196.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/2.691, allocations: 89.61 kB / 2.135 GB, free: 196.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/2.693, allocations: 1.376 MB / 2.136 GB, free: 195.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/2.693, allocations: 37.7 kB / 2.136 GB, free: 195.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/2.694, allocations: 0.7169 MB / 2.137 GB, free: 194.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/2.694, allocations: 240.5 kB / 2.137 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/2.694, allocations: 16 kB / 2.137 GB, free: 194.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/2.694, allocations: 341.9 kB / 2.137 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/2.694, allocations: 265.9 kB / 2.137 GB, free: 193.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/2.695, allocations: 491.1 kB / 2.138 GB, free: 192.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/2.695, allocations: 350.9 kB / 2.138 GB, free: 192.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/2.695, allocations: 0 / 2.138 GB, free: 192.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001548/2.697, allocations: 0.9853 MB / 2.139 GB, free: 191.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000294/2.697, allocations: 1.357 MB / 2.141 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/2.697, allocations: 4 kB / 2.141 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/2.698, allocations: 81.61 kB / 2.141 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/2.698, allocations: 179.8 kB / 2.141 GB, free: 189.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/2.7, allocations: 2.989 MB / 2.144 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/2.701, allocations: 143 kB / 2.144 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/2.701, allocations: 39.98 kB / 2.144 GB, free: 186.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/2.701, allocations: 4 kB / 2.144 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/2.703, allocations: 0.8138 MB / 2.145 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/2.703, allocations: 8 kB / 2.145 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/2.703, allocations: 57.69 kB / 2.145 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/2.703, allocations: 179.7 kB / 2.145 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/2.705, allocations: 2.981 MB / 2.148 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/2.706, allocations: 135 kB / 2.148 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/2.706, allocations: 39.98 kB / 2.148 GB, free: 181.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007836/2.707, allocations: 452.8 kB / 2.148 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/2.707, allocations: 154.1 kB / 2.149 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/2.709, allocations: 0.9771 MB / 2.15 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/2.709, allocations: 16.45 kB / 2.15 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/2.709, allocations: 0 / 2.15 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000853/2.71, allocations: 0.785 MB / 2.15 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/2.714, allocations: 2.651 MB / 2.153 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/2.714, allocations: 11.94 kB / 2.153 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/2.714, allocations: 128.2 kB / 2.153 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/2.714, allocations: 85.59 kB / 2.153 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/2.715, allocations: 16 kB / 2.153 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/2.716, allocations: 2.987 MB / 2.156 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/2.716, allocations: 7.984 kB / 2.156 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/2.718, allocations: 1.594 MB / 2.158 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/2.719, allocations: 378.7 kB / 2.158 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/2.719, allocations: 20 kB / 2.158 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000985/2.72, allocations: 55.8 kB / 2.158 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/2.72, allocations: 56.44 kB / 2.158 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/2.72, allocations: 31.97 kB / 2.158 GB, free: 170.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001605/2.722, allocations: 1.096 MB / 2.159 GB, free: 169.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/2.722, allocations: 0 / 2.159 GB, free: 169.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003903/2.726, allocations: 1.201 MB / 2.16 GB, free: 168.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.004712/2.731, allocations: 4.06 MB / 2.164 GB, free: 164.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002235/2.733, allocations: 1.654 MB / 2.166 GB, free: 162.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/2.733, allocations: 4.062 kB / 2.166 GB, free: 162.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/2.733, allocations: 0.5901 MB / 2.167 GB, free: 162.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/2.737, allocations: 0.8116 MB / 2.167 GB, free: 161.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/2.745, allocations: 6.809 MB / 2.174 GB, free: 154.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/2.746, allocations: 1.308 MB / 2.175 GB, free: 153 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001477/2.748, allocations: 360.3 kB / 2.176 GB, free: 152.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007573/2.748, allocations: 0.6281 MB / 2.176 GB, free: 152 MB / 1.167 GB Notification: Performance of SimCode: time 8.71e-07/2.748, allocations: 0 / 2.176 GB, free: 152 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08076/2.829, allocations: 56.06 MB / 2.231 GB, free: 96.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/2.829, allocations: 292.8 kB / 2.231 GB, free: 96.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.008/6.837, allocations: 0 / 2.231 GB, free: 96.25 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat does not exist to compare? outputFormat=mat