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.8272/0.8272, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 183 kB / 191.5 MB, free: 5.773 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.506/1.506, allocations: 223.2 MB / 447.7 MB, free: 6.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.0009124/0.0009126, allocations: 92.31 kB / 0.5187 GB, free: 2.961 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 274.6 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004489, allocations: 16 kB / 0.693 GB, free: 2.188 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3907, allocations: 82.77 MB / 0.7738 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7766/1.167, allocations: 401.9 MB / 1.166 GB, free: 2.242 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/1.168, allocations: 137.6 kB / 1.166 GB, free: 2.156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.595/4.763, allocations: 1.044 GB / 2.21 GB, free: 54.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/4.763, allocations: 3.938 kB / 2.21 GB, free: 54.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002591/4.763, allocations: 75.92 kB / 2.211 GB, free: 54.86 MB / 0.7292 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.008217/4.771, allocations: 3.593 MB / 2.214 GB, free: 51.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/4.771, allocations: 12.03 kB / 2.214 GB, free: 51.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005865/4.772, allocations: 295.3 kB / 2.214 GB, free: 50.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/4.773, allocations: 376.6 kB / 2.215 GB, free: 50.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/4.778, allocations: 2.93 MB / 2.218 GB, free: 47.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/4.778, allocations: 164.1 kB / 2.218 GB, free: 47.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/4.779, allocations: 219.9 kB / 2.218 GB, free: 47.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/4.782, allocations: 2.116 MB / 2.22 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/4.782, allocations: 3.938 kB / 2.22 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/4.782, allocations: 88 kB / 2.22 GB, free: 44.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/4.782, allocations: 52 kB / 2.22 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/4.784, allocations: 1.609 MB / 2.222 GB, free: 43.14 MB / 0.7292 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.01104/4.795, allocations: 8.845 MB / 2.23 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/4.797, allocations: 1.358 MB / 2.232 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/4.799, allocations: 2.918 MB / 2.235 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/4.799, allocations: 51.88 kB / 2.235 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=148): time 3.196e-06/4.799, allocations: 0 / 2.235 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=148): time 0.004382/4.803, allocations: 2.708 MB / 2.237 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/4.803, allocations: 102.4 kB / 2.237 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/4.806, allocations: 2.019 MB / 2.239 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/4.806, allocations: 53.7 kB / 2.239 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/4.807, allocations: 1.205 MB / 2.241 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/4.807, allocations: 0.5121 MB / 2.241 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/4.807, allocations: 32 kB / 2.241 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/4.807, allocations: 369.9 kB / 2.241 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/4.808, allocations: 0.5232 MB / 2.242 GB, free: 21.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/4.809, allocations: 0.8931 MB / 2.243 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/4.81, allocations: 0.6853 MB / 2.243 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/4.81, allocations: 4 kB / 2.243 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.002992/4.813, allocations: 1.971 MB / 2.245 GB, free: 17.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004512/4.813, allocations: 2.733 MB / 2.248 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/4.813, allocations: 8 kB / 2.248 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/4.814, allocations: 227.3 kB / 2.248 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/4.815, allocations: 351.5 kB / 2.249 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/4.819, allocations: 7.077 MB / 2.256 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/4.821, allocations: 282.2 kB / 2.256 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/4.821, allocations: 75.11 kB / 2.256 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/4.821, allocations: 4 kB / 2.256 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002521/4.824, allocations: 1.7 MB / 2.258 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/4.824, allocations: 16.09 kB / 2.258 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/4.824, allocations: 212.5 kB / 2.258 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/4.825, allocations: 351.5 kB / 2.258 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/4.832, allocations: 9.024 MB / 2.267 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/4.835, allocations: 266.2 kB / 2.267 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/4.835, allocations: 71.98 kB / 2.267 GB, free: 9.539 MB / 0.7448 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 () * Number of clocked 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.001603/4.836, allocations: 0.6452 MB / 2.268 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006886/4.837, allocations: 256.8 kB / 2.268 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/4.841, allocations: 2.039 MB / 2.27 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/4.841, allocations: 19.98 kB / 2.27 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/4.841, allocations: 8 kB / 2.27 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002417/4.843, allocations: 1.662 MB / 2.272 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008379/4.852, allocations: 4.527 MB / 2.276 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/4.852, allocations: 0 / 2.276 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.454/5.306, allocations: 271.3 kB / 2.276 GB, free: 80.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007592/5.307, allocations: 205.7 kB / 2.277 GB, free: 80.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/5.307, allocations: 40.75 kB / 2.277 GB, free: 80.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/5.311, allocations: 7.091 MB / 2.284 GB, free: 74.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.311, allocations: 1.312 kB / 2.284 GB, free: 74.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006358/5.318, allocations: 2.768 MB / 2.286 GB, free: 73.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/5.32, allocations: 0.5801 MB / 2.287 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005244/5.321, allocations: 30.69 kB / 2.287 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/5.322, allocations: 156.1 kB / 2.287 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/5.323, allocations: 103.3 kB / 2.287 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/5.323, allocations: 58.06 kB / 2.287 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003049/5.326, allocations: 1.557 MB / 2.289 GB, free: 73.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/5.326, allocations: 0 / 2.289 GB, free: 73.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008129/5.334, allocations: 1.996 MB / 2.291 GB, free: 73.39 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 () * Number of clocked 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.0116/5.346, allocations: 5.192 MB / 2.296 GB, free: 71.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008454/5.354, allocations: 3.59 MB / 2.299 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/5.354, allocations: 0 / 2.299 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/5.357, allocations: 1.246 MB / 2.3 GB, free: 70.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01255/5.369, allocations: 1.343 MB / 2.302 GB, free: 70.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/5.393, allocations: 12.15 MB / 2.314 GB, free: 62.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/5.395, allocations: 1.797 MB / 2.315 GB, free: 61.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005049/5.4, allocations: 0.6002 MB / 2.316 GB, free: 61.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/5.403, allocations: 1.146 MB / 2.317 GB, free: 61.63 MB / 0.7448 GB Notification: Performance of SimCode: time 1.412e-06/5.403, allocations: 0 / 2.317 GB, free: 61.63 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.198/5.601, allocations: 90.48 MB / 2.405 GB, free: 56.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/5.601, allocations: 323.8 kB / 2.406 GB, free: 56.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.705/11.31, allocations: 0 / 2.406 GB, free: 56.41 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)