Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7023/0.7023, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 187 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 95.27 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 269.9 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.353e-05, allocations: 8 kB / 0.6836 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3392, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6509/0.9902, allocations: 401.8 MB / 1.157 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.9905, allocations: 121.8 kB / 1.157 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.267/4.257, allocations: 1.041 GB / 2.198 GB, free: 48.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/4.257, allocations: 0 / 2.198 GB, free: 48.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00033/4.258, allocations: 83.91 kB / 2.198 GB, free: 48.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.006532/4.264, allocations: 3.041 MB / 2.201 GB, free: 45.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/4.264, allocations: 15.97 kB / 2.201 GB, free: 45.42 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006032/4.265, allocations: 291.3 kB / 2.201 GB, free: 45.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/4.266, allocations: 372.6 kB / 2.201 GB, free: 44.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/4.272, allocations: 2.901 MB / 2.204 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/4.272, allocations: 164.1 kB / 2.204 GB, free: 41.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/4.272, allocations: 216 kB / 2.204 GB, free: 41.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/4.276, allocations: 2.081 MB / 2.206 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.513e-05/4.276, allocations: 7.906 kB / 2.206 GB, free: 39.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/4.276, allocations: 88 kB / 2.207 GB, free: 39.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/4.276, allocations: 48 kB / 2.207 GB, free: 39.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/4.278, allocations: 1.57 MB / 2.208 GB, free: 37.5 MB / 0.7136 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.00903/4.287, allocations: 8.849 MB / 2.217 GB, free: 28.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/4.288, allocations: 1.329 MB / 2.218 GB, free: 26.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008652/4.289, allocations: 0.8512 MB / 2.219 GB, free: 26.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/4.291, allocations: 2.926 MB / 2.222 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/4.291, allocations: 48.12 kB / 2.222 GB, free: 22.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=148): time 3.727e-06/4.291, allocations: 3.188 kB / 2.222 GB, free: 22.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=148): time 0.002302/4.293, allocations: 1.561 MB / 2.223 GB, free: 20.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/4.293, allocations: 98.41 kB / 2.223 GB, free: 20.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/4.296, allocations: 1.983 MB / 2.225 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/4.296, allocations: 57.7 kB / 2.225 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/4.296, allocations: 1.205 MB / 2.227 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/4.297, allocations: 0.5199 MB / 2.227 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/4.297, allocations: 28 kB / 2.227 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/4.297, allocations: 369.9 kB / 2.227 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/4.297, allocations: 0.5194 MB / 2.228 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/4.298, allocations: 0.8737 MB / 2.229 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/4.299, allocations: 0.6799 MB / 2.229 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/4.299, allocations: 0 / 2.229 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00249/4.302, allocations: 1.948 MB / 2.231 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004066/4.302, allocations: 2.732 MB / 2.234 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/4.302, allocations: 11.98 kB / 2.234 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/4.303, allocations: 228.3 kB / 2.234 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/4.304, allocations: 351.5 kB / 2.235 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/4.307, allocations: 7.033 MB / 2.241 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/4.309, allocations: 286.1 kB / 2.242 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/4.309, allocations: 71.17 kB / 2.242 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/4.309, allocations: 4 kB / 2.242 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002441/4.311, allocations: 1.684 MB / 2.243 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/4.311, allocations: 8 kB / 2.243 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/4.312, allocations: 209 kB / 2.244 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/4.313, allocations: 353.6 kB / 2.244 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/4.319, allocations: 8.966 MB / 2.253 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/4.321, allocations: 262.2 kB / 2.253 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/4.321, allocations: 71.98 kB / 2.253 GB, free: 4.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003525/4.322, allocations: 207.8 kB / 2.253 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/4.322, allocations: 256.8 kB / 2.254 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/4.325, allocations: 2.016 MB / 2.256 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/4.325, allocations: 19.98 kB / 2.256 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/4.325, allocations: 8 kB / 2.256 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/4.328, allocations: 1.631 MB / 2.257 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006473/4.334, allocations: 4.512 MB / 2.262 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/4.334, allocations: 0 / 2.262 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/4.335, allocations: 279.8 kB / 2.262 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/4.336, allocations: 213 kB / 2.262 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/4.336, allocations: 39.98 kB / 2.262 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004307/4.34, allocations: 7.042 MB / 2.269 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/4.34, allocations: 4.062 kB / 2.269 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/4.344, allocations: 2.741 MB / 2.272 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/4.345, allocations: 0.5754 MB / 2.272 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/4.345, allocations: 31.98 kB / 2.272 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4324/4.778, allocations: 143.6 kB / 2.272 GB, free: 84.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/4.778, allocations: 103 kB / 2.272 GB, free: 84.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/4.778, allocations: 57.62 kB / 2.272 GB, free: 84.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002717/4.781, allocations: 1.527 MB / 2.274 GB, free: 84.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/4.781, allocations: 0 / 2.274 GB, free: 84.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007086/4.788, allocations: 1.991 MB / 2.276 GB, free: 84.51 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00686/4.795, allocations: 5.158 MB / 2.281 GB, free: 83.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004352/4.799, allocations: 3.636 MB / 2.285 GB, free: 82.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/4.799, allocations: 0 / 2.285 GB, free: 82.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/4.801, allocations: 1.225 MB / 2.286 GB, free: 81.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006047/4.807, allocations: 1.342 MB / 2.287 GB, free: 81.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/4.814, allocations: 4.869 MB / 2.292 GB, free: 80.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/4.815, allocations: 1.798 MB / 2.294 GB, free: 79.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002706/4.818, allocations: 0.7863 MB / 2.294 GB, free: 79.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/4.819, allocations: 1.101 MB / 2.295 GB, free: 79.75 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/4.819, allocations: 0 / 2.295 GB, free: 79.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/4.946, allocations: 96.16 MB / 2.389 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/4.947, allocations: 290.5 kB / 2.39 GB, free: 74.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.902/9.849, allocations: 0 / 2.39 GB, free: 74.57 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)