Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.305/2.305, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001188/0.001188, allocations: 184.8 kB / 496.1 MB, free: 12.87 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.748/1.748, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001045/0.001045, allocations: 97.98 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.069e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.501, allocations: 434.9 MB / 1.644 GB, free: 15.55 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.502, allocations: 107.9 kB / 1.644 GB, free: 15.44 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.634/4.135, allocations: 0.5672 GB / 2.211 GB, free: 264.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.243e-06/4.135, allocations: 3.281 kB / 2.211 GB, free: 264.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001125/4.136, allocations: 31.64 kB / 2.211 GB, free: 264.8 MB / 1.135 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.002908/4.139, allocations: 1.414 MB / 2.212 GB, free: 264.1 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/4.139, allocations: 10.22 kB / 2.212 GB, free: 264.1 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/4.139, allocations: 139.3 kB / 2.212 GB, free: 264.1 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/4.139, allocations: 147.9 kB / 2.213 GB, free: 264 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/4.142, allocations: 1.395 MB / 2.214 GB, free: 263.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/4.142, allocations: 67 kB / 2.214 GB, free: 263.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/4.142, allocations: 94.94 kB / 2.214 GB, free: 263.7 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/4.143, allocations: 0.8692 MB / 2.215 GB, free: 263.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/4.143, allocations: 0 / 2.215 GB, free: 263.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/4.143, allocations: 36.5 kB / 2.215 GB, free: 263.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/4.143, allocations: 22.03 kB / 2.215 GB, free: 263.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009221/4.144, allocations: 0.6059 MB / 2.216 GB, free: 263.6 MB / 1.135 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.004333/4.149, allocations: 4.318 MB / 2.22 GB, free: 261.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/4.149, allocations: 0.5203 MB / 2.22 GB, free: 261.4 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/4.15, allocations: 313.2 kB / 2.221 GB, free: 261.4 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/4.151, allocations: 0.6043 MB / 2.221 GB, free: 260.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/4.151, allocations: 46.58 kB / 2.221 GB, free: 260.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=57): time 2.625e-06/4.151, allocations: 0 / 2.221 GB, free: 260.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=57): time 0.001232/4.152, allocations: 0.6206 MB / 2.222 GB, free: 260.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/4.152, allocations: 55.34 kB / 2.222 GB, free: 260.5 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/4.153, allocations: 0.8014 MB / 2.223 GB, free: 260.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/4.153, allocations: 35.7 kB / 2.223 GB, free: 260.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/4.153, allocations: 0.5147 MB / 2.223 GB, free: 260.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/4.154, allocations: 206.9 kB / 2.223 GB, free: 260 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/4.154, allocations: 14.81 kB / 2.223 GB, free: 260 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.000104/4.154, allocations: 326.1 kB / 2.224 GB, free: 259.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/4.154, allocations: 189.6 kB / 2.224 GB, free: 259.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/4.154, allocations: 386.5 kB / 2.224 GB, free: 259.5 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/4.155, allocations: 261.2 kB / 2.225 GB, free: 259.5 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/4.155, allocations: 3.656 kB / 2.225 GB, free: 259.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001133/4.156, allocations: 0.7903 MB / 2.225 GB, free: 259.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003489/4.156, allocations: 1.316 MB / 2.227 GB, free: 258 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/4.156, allocations: 5.906 kB / 2.227 GB, free: 258 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/4.157, allocations: 134.4 kB / 2.227 GB, free: 257.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/4.157, allocations: 128.9 kB / 2.227 GB, free: 257.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/4.16, allocations: 4.824 MB / 2.232 GB, free: 253.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/4.161, allocations: 111.7 kB / 2.232 GB, free: 253.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/4.161, allocations: 30.42 kB / 2.232 GB, free: 253.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/4.161, allocations: 7.828 kB / 2.232 GB, free: 253.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/4.162, allocations: 0.6702 MB / 2.232 GB, free: 253.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/4.162, allocations: 3.688 kB / 2.232 GB, free: 253.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/4.162, allocations: 129.3 kB / 2.232 GB, free: 253.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/4.163, allocations: 124.4 kB / 2.233 GB, free: 253.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/4.166, allocations: 5.81 MB / 2.238 GB, free: 248.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/4.167, allocations: 101.1 kB / 2.238 GB, free: 248 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/4.167, allocations: 37.12 kB / 2.238 GB, free: 248 MB / 1.135 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.0002042/4.167, allocations: 150.1 kB / 2.239 GB, free: 247.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/4.167, allocations: 102.5 kB / 2.239 GB, free: 247.9 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/4.168, allocations: 0.7173 MB / 2.239 GB, free: 247.8 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/4.168, allocations: 7.688 kB / 2.239 GB, free: 247.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/4.168, allocations: 7.469 kB / 2.239 GB, free: 247.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008133/4.169, allocations: 0.6563 MB / 2.24 GB, free: 247.5 MB / 1.135 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.002574/4.172, allocations: 1.859 MB / 2.242 GB, free: 247.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/4.172, allocations: 0 / 2.242 GB, free: 247.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/4.172, allocations: 85.52 kB / 2.242 GB, free: 247.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/4.172, allocations: 132.3 kB / 2.242 GB, free: 247 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/4.173, allocations: 23.28 kB / 2.242 GB, free: 247 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/4.175, allocations: 4.807 MB / 2.247 GB, free: 242.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/4.175, allocations: 0 / 2.247 GB, free: 242.6 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/4.176, allocations: 1.096 MB / 2.248 GB, free: 242.3 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/4.177, allocations: 279.1 kB / 2.248 GB, free: 242.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/4.177, allocations: 12.84 kB / 2.248 GB, free: 242.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/4.177, allocations: 72.58 kB / 2.248 GB, free: 242.1 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/4.177, allocations: 39.86 kB / 2.248 GB, free: 242.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/4.178, allocations: 27.69 kB / 2.248 GB, free: 242.1 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.000754/4.178, allocations: 0.6182 MB / 2.249 GB, free: 242 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.31e-07/4.178, allocations: 0 / 2.249 GB, free: 242 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002628/4.181, allocations: 0.7702 MB / 2.25 GB, free: 241.9 MB / 1.135 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.002745/4.184, allocations: 2.481 MB / 2.252 GB, free: 240.6 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002097/4.186, allocations: 1.753 MB / 2.254 GB, free: 239.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/4.186, allocations: 0 / 2.254 GB, free: 239.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/4.186, allocations: 0.6024 MB / 2.254 GB, free: 239.4 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/4.189, allocations: 0.5554 MB / 2.255 GB, free: 239.4 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/4.192, allocations: 1.86 MB / 2.257 GB, free: 238.9 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/4.193, allocations: 1.117 MB / 2.258 GB, free: 238.2 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001125/4.194, allocations: 284.8 kB / 2.258 GB, free: 238.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/4.194, allocations: 410.7 kB / 2.258 GB, free: 238.1 MB / 1.135 GB Notification: Performance of SimCode: time 9.31e-07/4.194, allocations: 0 / 2.258 GB, free: 238.1 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/4.257, allocations: 38.03 MB / 2.296 GB, free: 234.6 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/4.257, allocations: 263.1 kB / 2.296 GB, free: 234.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.465/7.722, allocations: 0 / 2.296 GB, free: 234.2 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat does not exist to compare? outputFormat=mat