Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5164/0.5164, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.1 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 104.2 kB / 427.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8 kB / 0.4984 GB, free: 42.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 72.31 MB / 0.569 GB, free: 1.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.323, allocations: 376.6 MB / 0.9368 GB, free: 87.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.323, allocations: 132.5 kB / 0.9369 GB, free: 87.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.66/2.984, allocations: 492.8 MB / 1.418 GB, free: 80.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/2.984, allocations: 0 / 1.418 GB, free: 80.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001821/2.984, allocations: 47.86 kB / 1.418 GB, free: 80.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.0063/2.99, allocations: 2.262 MB / 1.42 GB, free: 78.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/2.99, allocations: 17.48 kB / 1.42 GB, free: 78.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003695/2.991, allocations: 162.4 kB / 1.421 GB, free: 78.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/2.991, allocations: 212.5 kB / 1.421 GB, free: 78.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/2.995, allocations: 1.717 MB / 1.422 GB, free: 77.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/2.995, allocations: 82.14 kB / 1.423 GB, free: 77.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/2.995, allocations: 116.3 kB / 1.423 GB, free: 76.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/2.997, allocations: 1.066 MB / 1.424 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/2.997, allocations: 3.906 kB / 1.424 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/2.997, allocations: 38.75 kB / 1.424 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/2.997, allocations: 29.09 kB / 1.424 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/2.999, allocations: 0.8029 MB / 1.425 GB, free: 75.85 MB / 0.6042 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.008012/3.007, allocations: 6.476 MB / 1.431 GB, free: 69.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/3.008, allocations: 0.5569 MB / 1.431 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/3.008, allocations: 1.266 MB / 1.433 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/3.009, allocations: 39.12 kB / 1.433 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 3.196e-06/3.009, allocations: 2.281 kB / 1.433 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.002216/3.011, allocations: 1.151 MB / 1.434 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/3.011, allocations: 85.67 kB / 1.434 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/3.013, allocations: 1.38 MB / 1.435 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/3.013, allocations: 37.7 kB / 1.435 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/3.014, allocations: 0.7189 MB / 1.436 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/3.014, allocations: 244.4 kB / 1.436 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/3.014, allocations: 20 kB / 1.436 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/3.014, allocations: 335.2 kB / 1.437 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/3.014, allocations: 272.1 kB / 1.437 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/3.015, allocations: 486.1 kB / 1.437 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/3.015, allocations: 356.1 kB / 1.438 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.015, allocations: 0 / 1.438 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00158/3.017, allocations: 0.9806 MB / 1.439 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/3.017, allocations: 1.359 MB / 1.44 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/3.017, allocations: 8 kB / 1.44 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/3.018, allocations: 69.53 kB / 1.44 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/3.018, allocations: 183.7 kB / 1.44 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/3.02, allocations: 2.992 MB / 1.443 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/3.021, allocations: 143 kB / 1.443 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/3.022, allocations: 35.98 kB / 1.443 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/3.022, allocations: 6.156 kB / 1.443 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/3.023, allocations: 0.8173 MB / 1.444 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/3.023, allocations: 8.438 kB / 1.444 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/3.023, allocations: 65.69 kB / 1.444 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/3.024, allocations: 179.7 kB / 1.444 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/3.025, allocations: 2.973 MB / 1.447 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/3.027, allocations: 138.9 kB / 1.447 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/3.027, allocations: 39.98 kB / 1.447 GB, free: 51.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009565/3.028, allocations: 444.9 kB / 1.448 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/3.028, allocations: 169.6 kB / 1.448 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/3.03, allocations: 0.9814 MB / 1.449 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/3.03, allocations: 8 kB / 1.449 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/3.03, allocations: 0 / 1.449 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008634/3.03, allocations: 0.7888 MB / 1.45 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/3.034, allocations: 2.643 MB / 1.452 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/3.034, allocations: 4 kB / 1.452 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/3.035, allocations: 139.7 kB / 1.452 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/3.035, allocations: 74.06 kB / 1.452 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/3.035, allocations: 19.98 kB / 1.452 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/3.037, allocations: 2.99 MB / 1.455 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/3.037, allocations: 8.125 kB / 1.455 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/3.039, allocations: 1.594 MB / 1.457 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/3.039, allocations: 378.7 kB / 1.457 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/3.04, allocations: 23.98 kB / 1.457 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/3.04, allocations: 51.81 kB / 1.457 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/3.04, allocations: 60.42 kB / 1.457 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/3.041, allocations: 31.98 kB / 1.457 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001468/3.042, allocations: 1.092 MB / 1.459 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/3.042, allocations: 4 kB / 1.459 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004053/3.046, allocations: 1.201 MB / 1.46 GB, free: 38.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005245/3.051, allocations: 4.061 MB / 1.464 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00267/3.054, allocations: 1.665 MB / 1.465 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/3.054, allocations: 0 / 1.465 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/3.055, allocations: 0.5866 MB / 1.466 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/3.059, allocations: 0.8018 MB / 1.467 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009277/3.068, allocations: 6.805 MB / 1.473 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/3.069, allocations: 1.301 MB / 1.475 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001931/3.071, allocations: 368 kB / 1.475 GB, free: 22.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/3.072, allocations: 0.6337 MB / 1.476 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of SimCode: time 1.503e-06/3.072, allocations: 0 / 1.476 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4331/3.506, allocations: 56.02 MB / 1.53 GB, free: 95.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/3.506, allocations: 295.3 kB / 1.531 GB, free: 95.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/7.553, allocations: 0.6562 kB / 1.531 GB, free: 95.61 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)