Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.871/1.871, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 185.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 97.16 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005465/0.0005464, allocations: 12 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2403, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9801/1.22, allocations: 429.2 MB / 1.399 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/1.221, allocations: 133.8 kB / 1.399 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.914/5.135, allocations: 1.025 GB / 2.423 GB, free: 89.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.055e-06/5.135, allocations: 0 / 2.423 GB, free: 89.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005634/5.136, allocations: 71.98 kB / 2.424 GB, free: 89.45 MB / 0.948 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.0141/5.15, allocations: 3.615 MB / 2.427 GB, free: 85.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/5.15, allocations: 8.031 kB / 2.427 GB, free: 85.75 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001807/5.152, allocations: 291.3 kB / 2.427 GB, free: 85.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/5.154, allocations: 373.1 kB / 2.428 GB, free: 85.08 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/5.164, allocations: 2.931 MB / 2.431 GB, free: 82.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/5.165, allocations: 160.1 kB / 2.431 GB, free: 81.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009098/5.166, allocations: 215.9 kB / 2.431 GB, free: 81.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006043/5.172, allocations: 2.12 MB / 2.433 GB, free: 79.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/5.172, allocations: 7.938 kB / 2.433 GB, free: 79.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004802/5.172, allocations: 88 kB / 2.433 GB, free: 79.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/5.172, allocations: 51.94 kB / 2.433 GB, free: 79.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/5.176, allocations: 1.605 MB / 2.435 GB, free: 77.72 MB / 0.948 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.01548/5.191, allocations: 8.849 MB / 2.443 GB, free: 68.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/5.193, allocations: 1.358 MB / 2.445 GB, free: 67.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001978/5.195, allocations: 2.914 MB / 2.448 GB, free: 63.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/5.195, allocations: 55.81 kB / 2.448 GB, free: 63.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=148): time 4.94e-06/5.195, allocations: 0 / 2.448 GB, free: 63.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=148): time 0.005181/5.2, allocations: 2.712 MB / 2.45 GB, free: 60.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/5.2, allocations: 94.42 kB / 2.45 GB, free: 60.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/5.205, allocations: 2.019 MB / 2.452 GB, free: 58.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/5.205, allocations: 57.7 kB / 2.452 GB, free: 58.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/5.206, allocations: 1.201 MB / 2.454 GB, free: 57.28 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/5.207, allocations: 0.5198 MB / 2.454 GB, free: 56.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/5.207, allocations: 39.94 kB / 2.454 GB, free: 56.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001317/5.207, allocations: 369.9 kB / 2.454 GB, free: 56.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/5.208, allocations: 0.5271 MB / 2.455 GB, free: 55.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/5.209, allocations: 0.8976 MB / 2.456 GB, free: 54.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/5.21, allocations: 0.6777 MB / 2.456 GB, free: 54.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/5.21, allocations: 7.953 kB / 2.456 GB, free: 54.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003623/5.214, allocations: 1.964 MB / 2.458 GB, free: 52.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005507/5.214, allocations: 2.728 MB / 2.461 GB, free: 49.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/5.214, allocations: 8 kB / 2.461 GB, free: 49.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/5.215, allocations: 228.9 kB / 2.461 GB, free: 48.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/5.216, allocations: 355.4 kB / 2.462 GB, free: 48.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/5.22, allocations: 7.078 MB / 2.469 GB, free: 40.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/5.223, allocations: 274 kB / 2.469 GB, free: 40.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/5.223, allocations: 75.97 kB / 2.469 GB, free: 40.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/5.223, allocations: 4.625 kB / 2.469 GB, free: 40.56 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003081/5.226, allocations: 1.699 MB / 2.471 GB, free: 38.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/5.226, allocations: 11.98 kB / 2.471 GB, free: 38.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/5.227, allocations: 217.2 kB / 2.471 GB, free: 38.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/5.228, allocations: 351.5 kB / 2.471 GB, free: 38.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/5.234, allocations: 9.047 MB / 2.48 GB, free: 28.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/5.237, allocations: 262.2 kB / 2.48 GB, free: 28.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/5.237, allocations: 71.98 kB / 2.48 GB, free: 28.1 MB / 0.948 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.00198/5.239, allocations: 0.6335 MB / 2.481 GB, free: 27.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/5.24, allocations: 256.8 kB / 2.481 GB, free: 27.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/5.244, allocations: 2.043 MB / 2.483 GB, free: 25.13 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/5.245, allocations: 19.98 kB / 2.483 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/5.245, allocations: 3.938 kB / 2.483 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002099/5.247, allocations: 1.666 MB / 2.485 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/5.256, allocations: 4.52 MB / 2.489 GB, free: 18.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/5.256, allocations: 4 kB / 2.489 GB, free: 18.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/5.257, allocations: 267.7 kB / 2.489 GB, free: 18.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/5.257, allocations: 224.7 kB / 2.49 GB, free: 18.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/5.258, allocations: 39.98 kB / 2.49 GB, free: 18.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/5.261, allocations: 7.086 MB / 2.497 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/5.261, allocations: 0 / 2.497 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/5.266, allocations: 2.772 MB / 2.499 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/5.268, allocations: 0.5754 MB / 2.5 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008078/5.269, allocations: 32 kB / 2.5 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/5.271, allocations: 155.3 kB / 2.5 GB, free: 6.918 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/5.271, allocations: 101.1 kB / 2.5 GB, free: 6.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/5.271, allocations: 63.97 kB / 2.5 GB, free: 6.754 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003154/5.274, allocations: 1.562 MB / 2.502 GB, free: 5.184 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/5.274, allocations: 0 / 2.502 GB, free: 5.184 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008126/5.282, allocations: 1.988 MB / 2.504 GB, free: 3.191 MB / 0.948 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.009952/5.292, allocations: 5.176 MB / 2.509 GB, free: 14 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006701/5.299, allocations: 3.597 MB / 2.512 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/5.299, allocations: 0 / 2.512 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/5.302, allocations: 1.246 MB / 2.513 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008212/5.31, allocations: 1.347 MB / 2.515 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/5.331, allocations: 12.14 MB / 2.527 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/5.333, allocations: 1.797 MB / 2.528 GB, free: 9.387 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003662/5.337, allocations: 0.595 MB / 2.529 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002448/5.34, allocations: 1.144 MB / 2.53 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of SimCode: time 7.273e-06/5.34, allocations: 0 / 2.53 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7706/6.11, allocations: 90.42 MB / 2.618 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/6.11, allocations: 326.7 kB / 2.619 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.715/11.83, allocations: 0 / 2.619 GB, free: 127.7 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)