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.221/2.221, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001471/0.001471, allocations: 183.9 kB / 0.4901 GB, free: 2.328 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.524/1.524, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009286/0.0009286, allocations: 102.6 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 15.78 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.343, allocations: 434.9 MB / 1.654 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.344, allocations: 102.1 kB / 1.654 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.79/3.134, allocations: 0.5688 GB / 2.223 GB, free: 101 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.294e-06/3.134, allocations: 4 kB / 2.223 GB, free: 100.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001648/3.134, allocations: 31.98 kB / 2.223 GB, free: 100.9 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.004081/3.138, allocations: 1.645 MB / 2.225 GB, free: 99.22 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/3.138, allocations: 8.031 kB / 2.225 GB, free: 99.21 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003132/3.138, allocations: 139.2 kB / 2.225 GB, free: 99.07 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000596/3.139, allocations: 147 kB / 2.225 GB, free: 98.92 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/3.142, allocations: 1.418 MB / 2.226 GB, free: 97.46 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/3.142, allocations: 70 kB / 2.226 GB, free: 97.39 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/3.142, allocations: 88 kB / 2.226 GB, free: 97.31 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/3.144, allocations: 0.87 MB / 2.227 GB, free: 96.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/3.144, allocations: 11.84 kB / 2.227 GB, free: 96.39 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/3.144, allocations: 40 kB / 2.227 GB, free: 96.35 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/3.144, allocations: 23.94 kB / 2.227 GB, free: 96.33 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/3.145, allocations: 0.6207 MB / 2.228 GB, free: 95.71 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.004968/3.15, allocations: 4.32 MB / 2.232 GB, free: 91.09 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/3.151, allocations: 0.5246 MB / 2.233 GB, free: 90.56 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/3.151, allocations: 0.5988 MB / 2.233 GB, free: 89.83 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/3.151, allocations: 39.12 kB / 2.233 GB, free: 89.79 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.374e-06/3.151, allocations: 4 kB / 2.233 GB, free: 89.78 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.002199/3.153, allocations: 1.241 MB / 2.234 GB, free: 88.45 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/3.153, allocations: 67.86 kB / 2.235 GB, free: 88.37 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/3.155, allocations: 0.8085 MB / 2.235 GB, free: 87.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/3.155, allocations: 37.7 kB / 2.235 GB, free: 87.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/3.155, allocations: 0.5112 MB / 2.236 GB, free: 86.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/3.155, allocations: 205 kB / 2.236 GB, free: 86.77 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/3.155, allocations: 12 kB / 2.236 GB, free: 86.76 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/3.155, allocations: 334 kB / 2.236 GB, free: 86.43 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/3.156, allocations: 193.9 kB / 2.237 GB, free: 86.24 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/3.156, allocations: 374.2 kB / 2.237 GB, free: 85.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/3.156, allocations: 267 kB / 2.237 GB, free: 85.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/3.156, allocations: 0 / 2.237 GB, free: 85.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001249/3.158, allocations: 0.8071 MB / 2.238 GB, free: 84.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000257/3.158, allocations: 1.308 MB / 2.239 GB, free: 83.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/3.158, allocations: 4 kB / 2.239 GB, free: 83.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/3.158, allocations: 139.3 kB / 2.239 GB, free: 83.15 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/3.159, allocations: 135.8 kB / 2.24 GB, free: 83.02 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/3.161, allocations: 4.981 MB / 2.244 GB, free: 77.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/3.162, allocations: 111.4 kB / 2.244 GB, free: 77.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/3.162, allocations: 24 kB / 2.245 GB, free: 77.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/3.162, allocations: 4.938 kB / 2.245 GB, free: 77.48 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/3.163, allocations: 0.6899 MB / 2.245 GB, free: 76.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/3.164, allocations: 4.109 kB / 2.245 GB, free: 76.77 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/3.164, allocations: 143.2 kB / 2.245 GB, free: 76.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/3.164, allocations: 123.8 kB / 2.245 GB, free: 76.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/3.168, allocations: 5.99 MB / 2.251 GB, free: 69.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.169, allocations: 107.3 kB / 2.251 GB, free: 69.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/3.169, allocations: 28 kB / 2.251 GB, free: 69.83 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.0006792/3.169, allocations: 373 kB / 2.252 GB, free: 69.46 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/3.17, allocations: 102.7 kB / 2.252 GB, free: 69.36 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/3.171, allocations: 0.7385 MB / 2.253 GB, free: 68.59 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/3.171, allocations: 8 kB / 2.253 GB, free: 68.59 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.171, allocations: 0 / 2.253 GB, free: 68.59 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008099/3.172, allocations: 0.6728 MB / 2.253 GB, free: 67.87 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.002982/3.175, allocations: 1.858 MB / 2.255 GB, free: 65.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/3.175, allocations: 0 / 2.255 GB, free: 65.92 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/3.175, allocations: 87.89 kB / 2.255 GB, free: 65.83 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/3.176, allocations: 131.3 kB / 2.255 GB, free: 65.69 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/3.176, allocations: 12 kB / 2.255 GB, free: 65.68 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/3.178, allocations: 4.983 MB / 2.26 GB, free: 60.27 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/3.178, allocations: 7.969 kB / 2.26 GB, free: 60.26 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/3.18, allocations: 1.108 MB / 2.261 GB, free: 59.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/3.18, allocations: 271.6 kB / 2.262 GB, free: 58.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/3.18, allocations: 12 kB / 2.262 GB, free: 58.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/3.181, allocations: 75.75 kB / 2.262 GB, free: 58.71 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/3.181, allocations: 44.5 kB / 2.262 GB, free: 58.67 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/3.181, allocations: 23.98 kB / 2.262 GB, free: 58.65 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008218/3.182, allocations: 0.6335 MB / 2.262 GB, free: 58 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/3.182, allocations: 0 / 2.262 GB, free: 58 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00288/3.185, allocations: 0.7757 MB / 2.263 GB, free: 57.23 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.002852/3.188, allocations: 2.483 MB / 2.265 GB, free: 54.68 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002119/3.19, allocations: 1.76 MB / 2.267 GB, free: 52.82 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/3.19, allocations: 4 kB / 2.267 GB, free: 52.82 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/3.191, allocations: 0.6246 MB / 2.268 GB, free: 52.16 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/3.193, allocations: 0.5482 MB / 2.268 GB, free: 51.62 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/3.198, allocations: 5.258 MB / 2.273 GB, free: 46.24 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/3.198, allocations: 1.12 MB / 2.275 GB, free: 45.09 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00096/3.199, allocations: 220.5 kB / 2.275 GB, free: 44.87 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/3.2, allocations: 427.3 kB / 2.275 GB, free: 44.45 MB / 1.167 GB Notification: Performance of SimCode: time 1.001e-06/3.2, allocations: 0 / 2.275 GB, free: 44.45 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05947/3.259, allocations: 35.79 MB / 2.31 GB, free: 9.141 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/3.259, allocations: 286.3 kB / 2.31 GB, free: 8.785 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/6.629, allocations: 6.094 kB / 2.31 GB, free: 8.781 MB / 1.167 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