Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.25/2.25, allocations: 393.5 MB / 408.4 MB, free: 11 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.001558/0.001558, allocations: 176 kB / 0.4901 GB, free: 2.25 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.563/1.563, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.000904/0.000904, allocations: 106.1 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 9.516 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3038, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.43, allocations: 425.2 MB / 1.645 GB, free: 40 kB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.431, allocations: 126.2 kB / 1.645 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.732/3.162, allocations: 492.8 MB / 2.126 GB, free: 180.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.048e-06/3.162, allocations: 4 kB / 2.126 GB, free: 180.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000199/3.163, allocations: 43.98 kB / 2.126 GB, free: 180.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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005843/3.168, allocations: 2.269 MB / 2.128 GB, free: 178.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/3.168, allocations: 12.02 kB / 2.128 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/3.169, allocations: 164.5 kB / 2.128 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/3.169, allocations: 213.9 kB / 2.129 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/3.172, allocations: 1.711 MB / 2.13 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/3.172, allocations: 86.02 kB / 2.13 GB, free: 176.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/3.172, allocations: 115.9 kB / 2.13 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/3.174, allocations: 1.073 MB / 2.131 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/3.174, allocations: 0 / 2.131 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/3.174, allocations: 40 kB / 2.132 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/3.174, allocations: 28 kB / 2.132 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/3.175, allocations: 0.8004 MB / 2.132 GB, free: 174 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.006621/3.182, allocations: 6.487 MB / 2.139 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/3.183, allocations: 0.5491 MB / 2.139 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008184/3.183, allocations: 1.274 MB / 2.14 GB, free: 164.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/3.183, allocations: 39.12 kB / 2.14 GB, free: 164.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 3.196e-06/3.183, allocations: 0 / 2.14 GB, free: 164.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001776/3.185, allocations: 1.15 MB / 2.142 GB, free: 163.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/3.185, allocations: 85.67 kB / 2.142 GB, free: 163.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/3.187, allocations: 1.383 MB / 2.143 GB, free: 162 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/3.187, allocations: 37.7 kB / 2.143 GB, free: 162 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/3.187, allocations: 0.7131 MB / 2.144 GB, free: 161.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/3.187, allocations: 244.5 kB / 2.144 GB, free: 161 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/3.188, allocations: 20 kB / 2.144 GB, free: 161 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/3.188, allocations: 341.9 kB / 2.144 GB, free: 160.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/3.188, allocations: 265.9 kB / 2.145 GB, free: 160.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/3.188, allocations: 489 kB / 2.145 GB, free: 159.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/3.189, allocations: 346.9 kB / 2.145 GB, free: 159.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/3.189, allocations: 0 / 2.145 GB, free: 159.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001326/3.19, allocations: 0.9931 MB / 2.146 GB, free: 158.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000247/3.191, allocations: 1.362 MB / 2.148 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/3.191, allocations: 11.98 kB / 2.148 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/3.191, allocations: 69.69 kB / 2.148 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/3.191, allocations: 179.7 kB / 2.148 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/3.193, allocations: 2.986 MB / 2.151 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/3.194, allocations: 142.8 kB / 2.151 GB, free: 153.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/3.194, allocations: 43.98 kB / 2.151 GB, free: 153.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/3.195, allocations: 4 kB / 2.151 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/3.196, allocations: 0.8135 MB / 2.152 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/3.196, allocations: 4 kB / 2.152 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/3.196, allocations: 70.12 kB / 2.152 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/3.196, allocations: 175.7 kB / 2.152 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/3.198, allocations: 2.981 MB / 2.155 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/3.199, allocations: 127.1 kB / 2.155 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/3.199, allocations: 39.98 kB / 2.155 GB, free: 148.8 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.0008607/3.2, allocations: 445.6 kB / 2.156 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/3.2, allocations: 166 kB / 2.156 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/3.202, allocations: 0.9925 MB / 2.157 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/3.202, allocations: 8 kB / 2.157 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/3.202, allocations: 4 kB / 2.157 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008551/3.202, allocations: 0.781 MB / 2.157 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/3.206, allocations: 2.647 MB / 2.16 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/3.206, allocations: 4 kB / 2.16 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/3.207, allocations: 135.8 kB / 2.16 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/3.207, allocations: 70.06 kB / 2.16 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/3.207, allocations: 27.98 kB / 2.16 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/3.208, allocations: 2.986 MB / 2.163 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/3.208, allocations: 7.938 kB / 2.163 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/3.21, allocations: 1.594 MB / 2.165 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/3.211, allocations: 378.7 kB / 2.165 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/3.211, allocations: 23.94 kB / 2.165 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/3.212, allocations: 59.8 kB / 2.165 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/3.212, allocations: 52.48 kB / 2.165 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/3.212, allocations: 31.98 kB / 2.165 GB, free: 137.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001337/3.213, allocations: 1.092 MB / 2.166 GB, free: 136.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/3.213, allocations: 0 / 2.166 GB, free: 136.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00331/3.216, allocations: 1.193 MB / 2.168 GB, free: 135.5 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.004194/3.221, allocations: 4.069 MB / 2.172 GB, free: 131.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002142/3.223, allocations: 1.656 MB / 2.173 GB, free: 129.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/3.223, allocations: 1.25 kB / 2.173 GB, free: 129.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/3.223, allocations: 0.5947 MB / 2.174 GB, free: 129 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/3.227, allocations: 0.8096 MB / 2.174 GB, free: 128.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/3.234, allocations: 6.807 MB / 2.181 GB, free: 121.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/3.235, allocations: 1.308 MB / 2.182 GB, free: 119.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001415/3.236, allocations: 360.4 kB / 2.183 GB, free: 119.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/3.237, allocations: 0.632 MB / 2.183 GB, free: 118.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.573e-06/3.237, allocations: 4 kB / 2.183 GB, free: 118.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08226/3.319, allocations: 56.05 MB / 2.238 GB, free: 63.46 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/3.32, allocations: 304.4 kB / 2.238 GB, free: 63.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.179/7.498, allocations: 0 / 2.238 GB, free: 63.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat does not exist to compare? outputFormat=mat