Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 92.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.335e-05, allocations: 4 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.829/2.064, allocations: 422.8 MB / 1.305 GB, free: 314.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004359/2.064, allocations: 125 kB / 1.305 GB, free: 314.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.237/6.302, allocations: 1.021 GB / 2.326 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.726e-06/6.302, allocations: 0 / 2.326 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000441/6.302, allocations: 82.14 kB / 2.326 GB, free: 110.2 MB / 0.9011 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.009953/6.312, allocations: 3.059 MB / 2.329 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/6.312, allocations: 11.44 kB / 2.329 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008678/6.313, allocations: 289.7 kB / 2.33 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/6.315, allocations: 369.2 kB / 2.33 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008075/6.323, allocations: 2.899 MB / 2.333 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/6.323, allocations: 163.3 kB / 2.333 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005624/6.324, allocations: 215.5 kB / 2.333 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004669/6.328, allocations: 2.085 MB / 2.335 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/6.328, allocations: 9.438 kB / 2.335 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/6.329, allocations: 83.91 kB / 2.335 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/6.329, allocations: 52.52 kB / 2.335 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/6.332, allocations: 1.567 MB / 2.337 GB, free: 108.1 MB / 0.9011 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.01351/6.345, allocations: 8.849 MB / 2.345 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/6.347, allocations: 1.335 MB / 2.347 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/6.348, allocations: 0.8592 MB / 2.348 GB, free: 105 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/6.35, allocations: 2.916 MB / 2.35 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/6.35, allocations: 55.28 kB / 2.35 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=148): time 8.436e-06/6.35, allocations: 0 / 2.35 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=148): time 0.003851/6.354, allocations: 1.55 MB / 2.352 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/6.354, allocations: 97.48 kB / 2.352 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003606/6.358, allocations: 1.987 MB / 2.354 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/6.358, allocations: 57.42 kB / 2.354 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009309/6.359, allocations: 1.205 MB / 2.355 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/6.36, allocations: 0.5125 MB / 2.356 GB, free: 100.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/6.36, allocations: 29.94 kB / 2.356 GB, free: 100.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001386/6.36, allocations: 377 kB / 2.356 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008479/6.361, allocations: 0.5194 MB / 2.357 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/6.362, allocations: 0.8786 MB / 2.357 GB, free: 99.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/6.363, allocations: 0.6753 MB / 2.358 GB, free: 99.71 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/6.363, allocations: 2.312 kB / 2.358 GB, free: 99.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00384/6.367, allocations: 1.946 MB / 2.36 GB, free: 99.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006473/6.367, allocations: 2.726 MB / 2.363 GB, free: 96.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/6.367, allocations: 8.438 kB / 2.363 GB, free: 96.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/6.368, allocations: 228.7 kB / 2.363 GB, free: 96.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/6.369, allocations: 350.3 kB / 2.363 GB, free: 96.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/6.373, allocations: 7.048 MB / 2.37 GB, free: 90.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/6.377, allocations: 281 kB / 2.37 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/6.377, allocations: 67.45 kB / 2.37 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/6.377, allocations: 5.969 kB / 2.37 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004453/6.381, allocations: 1.682 MB / 2.372 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.752e-05/6.382, allocations: 11 kB / 2.372 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/6.382, allocations: 216.4 kB / 2.372 GB, free: 89.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/6.384, allocations: 354.7 kB / 2.373 GB, free: 89.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/6.391, allocations: 8.966 MB / 2.381 GB, free: 81.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/6.394, allocations: 264.4 kB / 2.382 GB, free: 81.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/6.395, allocations: 74.81 kB / 2.382 GB, free: 81.83 MB / 0.9011 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.0007526/6.395, allocations: 202 kB / 2.382 GB, free: 81.72 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/6.397, allocations: 256.2 kB / 2.382 GB, free: 81.59 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/6.401, allocations: 2.026 MB / 2.384 GB, free: 81.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/6.401, allocations: 17.52 kB / 2.384 GB, free: 81.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/6.402, allocations: 3.531 kB / 2.384 GB, free: 81.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002601/6.404, allocations: 1.64 MB / 2.386 GB, free: 81.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/6.415, allocations: 4.485 MB / 2.39 GB, free: 80.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/6.415, allocations: 1.906 kB / 2.39 GB, free: 80.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/6.417, allocations: 279 kB / 2.39 GB, free: 80.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/6.417, allocations: 204 kB / 2.391 GB, free: 80.35 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/6.417, allocations: 48.53 kB / 2.391 GB, free: 80.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/6.422, allocations: 7.055 MB / 2.398 GB, free: 73.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/6.422, allocations: 0 / 2.398 GB, free: 73.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/6.427, allocations: 2.739 MB / 2.4 GB, free: 73.44 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/6.429, allocations: 0.5759 MB / 2.401 GB, free: 73.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/6.43, allocations: 31.56 kB / 2.401 GB, free: 73.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/6.432, allocations: 146.2 kB / 2.401 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/6.433, allocations: 109.5 kB / 2.401 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/6.433, allocations: 61.42 kB / 2.401 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003621/6.437, allocations: 1.526 MB / 2.403 GB, free: 73.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/6.437, allocations: 0 / 2.403 GB, free: 73.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009899/6.446, allocations: 1.99 MB / 2.405 GB, free: 72.7 MB / 0.9011 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.01054/6.457, allocations: 5.172 MB / 2.41 GB, free: 71.08 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006484/6.464, allocations: 3.627 MB / 2.413 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/6.464, allocations: 3.25 kB / 2.413 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/6.465, allocations: 1.23 MB / 2.414 GB, free: 69.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008251/6.474, allocations: 1.337 MB / 2.416 GB, free: 69.36 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/6.488, allocations: 4.857 MB / 2.42 GB, free: 68.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/6.491, allocations: 1.799 MB / 2.422 GB, free: 67.35 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004817/6.495, allocations: 0.7856 MB / 2.423 GB, free: 67.32 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/6.497, allocations: 1.108 MB / 2.424 GB, free: 67.32 MB / 0.9011 GB Notification: Performance of SimCode: time 3.146e-06/6.497, allocations: 0 / 2.424 GB, free: 67.32 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1766/6.674, allocations: 96.09 MB / 2.518 GB, free: 61.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/6.674, allocations: 280 kB / 2.518 GB, free: 61.28 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.924/12.6, allocations: 4 kB / 2.518 GB, free: 61.28 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)