Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.116/2.116, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001035/0.001035, allocations: 185.7 kB / 498.1 MB, free: 5.758 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.429/1.429, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001021/0.001021, allocations: 98.91 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 10.47 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9398/1.174, allocations: 434.1 MB / 1.647 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.175, allocations: 107.9 kB / 1.647 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.729/2.904, allocations: 0.5688 GB / 2.216 GB, free: 116.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/2.904, allocations: 4 kB / 2.216 GB, free: 116.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001822/2.904, allocations: 39.98 kB / 2.216 GB, free: 116.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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004158/2.908, allocations: 1.635 MB / 2.217 GB, free: 115.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/2.908, allocations: 12.02 kB / 2.217 GB, free: 115 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003454/2.909, allocations: 139.2 kB / 2.218 GB, free: 114.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/2.909, allocations: 154.9 kB / 2.218 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/2.912, allocations: 1.402 MB / 2.219 GB, free: 113.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/2.912, allocations: 66 kB / 2.219 GB, free: 113.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/2.912, allocations: 96 kB / 2.219 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/2.914, allocations: 0.87 MB / 2.22 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/2.914, allocations: 0 / 2.22 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/2.914, allocations: 39.98 kB / 2.22 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/2.914, allocations: 31.94 kB / 2.22 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/2.915, allocations: 0.6207 MB / 2.221 GB, free: 111.6 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.004827/2.92, allocations: 4.328 MB / 2.225 GB, free: 106.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/2.921, allocations: 0.5245 MB / 2.226 GB, free: 106.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/2.921, allocations: 0.6026 MB / 2.226 GB, free: 105.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/2.921, allocations: 35.12 kB / 2.226 GB, free: 105.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/2.921, allocations: 4 kB / 2.226 GB, free: 105.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.002066/2.923, allocations: 1.238 MB / 2.227 GB, free: 104.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/2.923, allocations: 59.92 kB / 2.227 GB, free: 104.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/2.925, allocations: 0.8085 MB / 2.228 GB, free: 103.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/2.925, allocations: 41.7 kB / 2.228 GB, free: 103.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/2.925, allocations: 0.5113 MB / 2.229 GB, free: 102.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/2.925, allocations: 205.1 kB / 2.229 GB, free: 102.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/2.925, allocations: 16 kB / 2.229 GB, free: 102.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/2.925, allocations: 330.1 kB / 2.229 GB, free: 102.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/2.926, allocations: 197.8 kB / 2.229 GB, free: 102.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/2.926, allocations: 382.2 kB / 2.23 GB, free: 101.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/2.926, allocations: 259 kB / 2.23 GB, free: 101.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/2.926, allocations: 0 / 2.23 GB, free: 101.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001198/2.927, allocations: 0.8188 MB / 2.231 GB, free: 100.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/2.928, allocations: 1.308 MB / 2.232 GB, free: 99.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/2.928, allocations: 7.984 kB / 2.232 GB, free: 99.13 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/2.928, allocations: 127.4 kB / 2.232 GB, free: 99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/2.929, allocations: 127.8 kB / 2.232 GB, free: 98.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/2.931, allocations: 4.989 MB / 2.237 GB, free: 93.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/2.932, allocations: 115.2 kB / 2.237 GB, free: 93.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/2.933, allocations: 32 kB / 2.237 GB, free: 93.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/2.933, allocations: 4 kB / 2.237 GB, free: 93.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/2.934, allocations: 0.6816 MB / 2.238 GB, free: 92.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/2.934, allocations: 4 kB / 2.238 GB, free: 92.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/2.934, allocations: 135.6 kB / 2.238 GB, free: 92.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/2.934, allocations: 123.9 kB / 2.238 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/2.937, allocations: 5.997 MB / 2.244 GB, free: 85.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/2.938, allocations: 103.3 kB / 2.244 GB, free: 85.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/2.939, allocations: 35.98 kB / 2.244 GB, free: 85.66 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 (70): * Single equations (assignments): 65 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006251/2.939, allocations: 365 kB / 2.245 GB, free: 85.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/2.939, allocations: 106.7 kB / 2.245 GB, free: 85.19 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/2.941, allocations: 0.7268 MB / 2.245 GB, free: 84.44 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/2.941, allocations: 4 kB / 2.245 GB, free: 84.44 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.941, allocations: 7.938 kB / 2.245 GB, free: 84.43 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007485/2.941, allocations: 0.665 MB / 2.246 GB, free: 83.72 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 postOpt removeSimpleEquations (simulation): time 0.002745/2.944, allocations: 1.874 MB / 2.248 GB, free: 81.76 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.944, allocations: 4 kB / 2.248 GB, free: 81.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/2.945, allocations: 83.89 kB / 2.248 GB, free: 81.67 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/2.945, allocations: 135.2 kB / 2.248 GB, free: 81.53 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/2.945, allocations: 16 kB / 2.248 GB, free: 81.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/2.947, allocations: 4.971 MB / 2.253 GB, free: 76.11 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/2.947, allocations: 8.078 kB / 2.253 GB, free: 76.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/2.949, allocations: 1.116 MB / 2.254 GB, free: 74.92 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/2.95, allocations: 275.6 kB / 2.254 GB, free: 74.63 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/2.95, allocations: 12 kB / 2.254 GB, free: 74.62 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/2.951, allocations: 67.88 kB / 2.254 GB, free: 74.55 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/2.951, allocations: 40.47 kB / 2.255 GB, free: 74.52 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/2.951, allocations: 23.98 kB / 2.255 GB, free: 74.49 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009362/2.952, allocations: 0.6336 MB / 2.255 GB, free: 73.85 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/2.952, allocations: 0 / 2.255 GB, free: 73.85 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003041/2.955, allocations: 0.7679 MB / 2.256 GB, free: 73.08 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/2.958, allocations: 2.489 MB / 2.258 GB, free: 70.54 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002444/2.96, allocations: 1.76 MB / 2.26 GB, free: 68.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.96, allocations: 0 / 2.26 GB, free: 68.68 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/2.961, allocations: 0.6324 MB / 2.261 GB, free: 68 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/2.964, allocations: 0.5387 MB / 2.261 GB, free: 67.47 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/2.971, allocations: 5.252 MB / 2.266 GB, free: 62.09 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/2.972, allocations: 1.124 MB / 2.267 GB, free: 60.94 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001294/2.973, allocations: 232.3 kB / 2.268 GB, free: 60.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/2.974, allocations: 419.3 kB / 2.268 GB, free: 60.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.583e-06/2.974, allocations: 4 kB / 2.268 GB, free: 60.29 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/3.045, allocations: 35.79 MB / 2.303 GB, free: 25.01 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/3.045, allocations: 277 kB / 2.303 GB, free: 24.65 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/6.137, allocations: 1.969 kB / 2.303 GB, free: 24.65 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat does not exist to compare? outputFormat=mat