Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001261/0.001261, allocations: 192.9 kB / 377.1 MB, free: 1.531 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.788/1.788, allocations: 205.4 MB / 0.6366 GB, free: 8.555 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008498/0.0008495, allocations: 97.03 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 12 kB / 0.8749 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 116.3 MB / 0.9885 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.792, allocations: 430.2 MB / 1.409 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.792, allocations: 125 kB / 1.409 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.552/5.344, allocations: 1.025 GB / 2.433 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.285e-06/5.344, allocations: 3.938 kB / 2.433 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003398/5.345, allocations: 79.97 kB / 2.433 GB, free: 13.36 MB / 0.9636 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.01198/5.357, allocations: 3.605 MB / 2.437 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/5.357, allocations: 15.97 kB / 2.437 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001525/5.358, allocations: 287.3 kB / 2.437 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/5.36, allocations: 380.4 kB / 2.438 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009784/5.37, allocations: 2.924 MB / 2.44 GB, free: 6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/5.37, allocations: 164.1 kB / 2.441 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/5.371, allocations: 216 kB / 2.441 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/5.376, allocations: 2.12 MB / 2.443 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/5.377, allocations: 7.906 kB / 2.443 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/5.377, allocations: 84 kB / 2.443 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/5.377, allocations: 52 kB / 2.443 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/5.38, allocations: 1.609 MB / 2.445 GB, free: 1.629 MB / 0.9636 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.01556/5.395, allocations: 8.848 MB / 2.453 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/5.397, allocations: 1.35 MB / 2.455 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002559/5.4, allocations: 2.922 MB / 2.457 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/5.4, allocations: 59.81 kB / 2.457 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=148): time 4.318e-06/5.4, allocations: 0 / 2.457 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of matching and sorting (n=148): time 0.005355/5.405, allocations: 2.697 MB / 2.46 GB, free: 0.582 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/5.405, allocations: 98.42 kB / 2.46 GB, free: 480 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6873/6.093, allocations: 2.017 MB / 2.462 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004371/6.093, allocations: 58.05 kB / 2.462 GB, free: 98.38 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/6.094, allocations: 1.201 MB / 2.463 GB, free: 98.29 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/6.095, allocations: 0.5158 MB / 2.464 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/6.095, allocations: 31.09 kB / 2.464 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001166/6.095, allocations: 368 kB / 2.464 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/6.096, allocations: 0.5302 MB / 2.465 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/6.097, allocations: 0.8961 MB / 2.466 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/6.098, allocations: 0.6792 MB / 2.466 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/6.098, allocations: 4.25 kB / 2.466 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003642/6.102, allocations: 1.972 MB / 2.468 GB, free: 97.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005844/6.102, allocations: 2.728 MB / 2.471 GB, free: 94.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/6.102, allocations: 10.89 kB / 2.471 GB, free: 94.28 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/6.103, allocations: 225.1 kB / 2.471 GB, free: 94.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/6.104, allocations: 352.6 kB / 2.472 GB, free: 94.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/6.108, allocations: 7.086 MB / 2.478 GB, free: 87.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/6.111, allocations: 278.6 kB / 2.479 GB, free: 87.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/6.112, allocations: 74.44 kB / 2.479 GB, free: 87.83 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/6.112, allocations: 2.5 kB / 2.479 GB, free: 87.83 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/6.115, allocations: 1.702 MB / 2.48 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/6.115, allocations: 10.06 kB / 2.48 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/6.116, allocations: 215.6 kB / 2.481 GB, free: 87.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/6.117, allocations: 348.2 kB / 2.481 GB, free: 87.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/6.124, allocations: 9.026 MB / 2.49 GB, free: 79.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/6.127, allocations: 268.3 kB / 2.49 GB, free: 79.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/6.127, allocations: 75.22 kB / 2.49 GB, free: 79.66 MB / 0.9792 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.002167/6.129, allocations: 0.6351 MB / 2.491 GB, free: 79.48 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/6.13, allocations: 263.7 kB / 2.491 GB, free: 79.34 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/6.135, allocations: 2.042 MB / 2.493 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/6.135, allocations: 15.88 kB / 2.493 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/6.135, allocations: 3.156 kB / 2.493 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002783/6.138, allocations: 1.666 MB / 2.495 GB, free: 78.82 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009483/6.148, allocations: 4.521 MB / 2.499 GB, free: 78.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/6.148, allocations: 4.125 kB / 2.499 GB, free: 78.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/6.149, allocations: 275.1 kB / 2.499 GB, free: 78.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/6.149, allocations: 217.3 kB / 2.5 GB, free: 78.13 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-05/6.149, allocations: 37.42 kB / 2.5 GB, free: 78.13 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/6.154, allocations: 7.099 MB / 2.506 GB, free: 71.78 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/6.154, allocations: 0.6094 kB / 2.506 GB, free: 71.78 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/6.159, allocations: 2.774 MB / 2.509 GB, free: 71.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/6.161, allocations: 0.5717 MB / 2.51 GB, free: 71.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009081/6.162, allocations: 30.81 kB / 2.51 GB, free: 71.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/6.165, allocations: 154.9 kB / 2.51 GB, free: 71.01 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/6.166, allocations: 102.5 kB / 2.51 GB, free: 71.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/6.166, allocations: 57.14 kB / 2.51 GB, free: 71.01 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004695/6.17, allocations: 1.562 MB / 2.512 GB, free: 70.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.3e-07/6.17, allocations: 0 / 2.512 GB, free: 70.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008777/6.179, allocations: 1.989 MB / 2.514 GB, free: 70.79 MB / 0.9792 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.009352/6.189, allocations: 5.204 MB / 2.519 GB, free: 69.34 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006314/6.195, allocations: 3.588 MB / 2.522 GB, free: 68.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/6.195, allocations: 4.281 kB / 2.522 GB, free: 68.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/6.197, allocations: 1.241 MB / 2.523 GB, free: 67.67 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007815/6.205, allocations: 1.348 MB / 2.525 GB, free: 67.65 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/6.222, allocations: 12.14 MB / 2.537 GB, free: 59.76 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/6.225, allocations: 1.798 MB / 2.538 GB, free: 59.03 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003563/6.228, allocations: 0.5889 MB / 2.539 GB, free: 59 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/6.23, allocations: 1.151 MB / 2.54 GB, free: 59 MB / 0.9792 GB Notification: Performance of SimCode: time 1.111e-05/6.23, allocations: 0 / 2.54 GB, free: 59 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.178/6.408, allocations: 90.42 MB / 2.628 GB, free: 54.66 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/6.409, allocations: 310.5 kB / 2.629 GB, free: 54.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.746/12.15, allocations: 0 / 2.629 GB, free: 54.3 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)