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.193/2.193, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001024/0.001024, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.434/1.434, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008715, allocations: 91.91 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.485e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2602, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.425, allocations: 433.4 MB / 1.629 GB, free: 4.992 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/1.425, allocations: 102.5 kB / 1.629 GB, free: 4.938 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.685/3.11, allocations: 0.5644 GB / 2.194 GB, free: 8.992 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.024e-06/3.11, allocations: 0 / 2.194 GB, free: 8.992 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001158/3.11, allocations: 35.94 kB / 2.194 GB, free: 8.957 MB / 1.151 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.002665/3.112, allocations: 1.423 MB / 2.195 GB, free: 7.484 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/3.113, allocations: 8.031 kB / 2.195 GB, free: 7.477 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/3.113, allocations: 150.3 kB / 2.195 GB, free: 7.328 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/3.115, allocations: 1.394 MB / 2.197 GB, free: 5.891 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/3.115, allocations: 28 kB / 2.197 GB, free: 5.863 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/3.115, allocations: 56 kB / 2.197 GB, free: 5.809 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008939/3.116, allocations: 0.5546 MB / 2.197 GB, free: 5.254 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/3.117, allocations: 0.7373 MB / 2.198 GB, free: 4.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/3.117, allocations: 7.891 kB / 2.198 GB, free: 4.473 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/3.118, allocations: 11.94 kB / 2.198 GB, free: 4.461 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/3.118, allocations: 20 kB / 2.198 GB, free: 4.441 MB / 1.151 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.004219/3.122, allocations: 4.15 MB / 2.202 GB, free: 20 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7137/3.836, allocations: 495.4 kB / 2.203 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/3.836, allocations: 302.4 kB / 2.203 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/3.837, allocations: 0.6042 MB / 2.204 GB, free: 267.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/3.837, allocations: 44.94 kB / 2.204 GB, free: 267.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.385e-06/3.837, allocations: 0 / 2.204 GB, free: 267.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001852/3.839, allocations: 0.6156 MB / 2.204 GB, free: 267.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/3.839, allocations: 57.59 kB / 2.204 GB, free: 267.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/3.84, allocations: 0.7032 MB / 2.205 GB, free: 267.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/3.84, allocations: 29.3 kB / 2.205 GB, free: 267.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/3.84, allocations: 0.519 MB / 2.205 GB, free: 267.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/3.841, allocations: 195.3 kB / 2.206 GB, free: 267.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/3.841, allocations: 0 / 2.206 GB, free: 267.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/3.841, allocations: 338.4 kB / 2.206 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/3.841, allocations: 177.5 kB / 2.206 GB, free: 266.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/3.841, allocations: 356.9 kB / 2.206 GB, free: 266.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008058/3.842, allocations: 297.1 kB / 2.207 GB, free: 266.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/3.842, allocations: 0.6875 kB / 2.207 GB, free: 266.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001686/3.844, allocations: 0.7819 MB / 2.208 GB, free: 266.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002612/3.844, allocations: 1.318 MB / 2.209 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/3.844, allocations: 8.656 kB / 2.209 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/3.845, allocations: 124.6 kB / 2.209 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/3.845, allocations: 125.8 kB / 2.209 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/3.848, allocations: 4.688 MB / 2.214 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/3.849, allocations: 94.28 kB / 2.214 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/3.849, allocations: 31.86 kB / 2.214 GB, free: 260.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/3.849, allocations: 4.656 kB / 2.214 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001506/3.85, allocations: 0.6462 MB / 2.214 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/3.85, allocations: 4.719 kB / 2.214 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/3.85, allocations: 116.4 kB / 2.215 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/3.851, allocations: 127.4 kB / 2.215 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/3.854, allocations: 5.616 MB / 2.22 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/3.855, allocations: 88.41 kB / 2.22 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/3.855, allocations: 28 kB / 2.22 GB, free: 255.7 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * 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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002088/3.856, allocations: 120.2 kB / 2.22 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001277/3.857, allocations: 0.613 MB / 2.221 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/3.857, allocations: 96.81 kB / 2.221 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/3.859, allocations: 0.6782 MB / 2.222 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/3.859, allocations: 7.516 kB / 2.222 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/3.859, allocations: 1.672 kB / 2.222 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/3.86, allocations: 0.6414 MB / 2.222 GB, free: 255.1 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.002811/3.863, allocations: 1.733 MB / 2.224 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/3.863, allocations: 5.141 kB / 2.224 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/3.863, allocations: 89.98 kB / 2.224 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/3.863, allocations: 105.8 kB / 2.224 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/3.863, allocations: 5.391 kB / 2.224 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/3.866, allocations: 4.669 MB / 2.229 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/3.866, allocations: 2 kB / 2.229 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/3.867, allocations: 1.064 MB / 2.23 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/3.868, allocations: 262.1 kB / 2.23 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/3.868, allocations: 9.969 kB / 2.23 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/3.869, allocations: 57.42 kB / 2.23 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/3.869, allocations: 47.36 kB / 2.23 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/3.869, allocations: 26.78 kB / 2.23 GB, free: 249.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007955/3.87, allocations: 0.534 MB / 2.231 GB, free: 249.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/3.87, allocations: 1.5 kB / 2.231 GB, free: 249.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002988/3.873, allocations: 0.7542 MB / 2.231 GB, free: 249.7 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * 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%) 2,(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.003455/3.876, allocations: 2.445 MB / 2.234 GB, free: 248.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002328/3.878, allocations: 1.65 MB / 2.235 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/3.878, allocations: 1.531 kB / 2.235 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/3.879, allocations: 0.5769 MB / 2.236 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/3.881, allocations: 496.4 kB / 2.237 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/3.885, allocations: 1.781 MB / 2.238 GB, free: 247 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/3.886, allocations: 1.124 MB / 2.239 GB, free: 246.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001313/3.887, allocations: 272.1 kB / 2.24 GB, free: 246.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/3.888, allocations: 406.9 kB / 2.24 GB, free: 246.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.72e-07/3.888, allocations: 0 / 2.24 GB, free: 246.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07493/3.963, allocations: 32.46 MB / 2.272 GB, free: 245.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/3.963, allocations: 199.7 kB / 2.272 GB, free: 245.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/6.952, allocations: 0 / 2.272 GB, free: 245.6 MB / 1.151 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