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.InternalHEXOneUTube.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.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 179.3 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.000887/0.000887, allocations: 95.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 10.25 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.275, allocations: 405.9 MB / 1.297 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.275, allocations: 132.4 kB / 1.297 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.029/3.305, allocations: 477.3 MB / 1.763 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/3.305, allocations: 1.562 kB / 1.763 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001653/3.305, allocations: 42.73 kB / 1.763 GB, free: 169.3 MB / 0.8855 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.005989/3.311, allocations: 2.266 MB / 1.765 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/3.311, allocations: 11.75 kB / 1.765 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002445/3.311, allocations: 162.7 kB / 1.765 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/3.312, allocations: 205.4 kB / 1.765 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/3.316, allocations: 1.714 MB / 1.767 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/3.316, allocations: 83.02 kB / 1.767 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/3.316, allocations: 113.7 kB / 1.767 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/3.318, allocations: 1.073 MB / 1.768 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/3.318, allocations: 1.312 kB / 1.768 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/3.318, allocations: 45.41 kB / 1.768 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/3.318, allocations: 25.88 kB / 1.768 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/3.319, allocations: 0.7957 MB / 1.769 GB, free: 168 MB / 0.8855 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.007671/3.327, allocations: 6.488 MB / 1.776 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/3.328, allocations: 0.5511 MB / 1.776 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008372/3.329, allocations: 1.263 MB / 1.777 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/3.329, allocations: 52.31 kB / 1.777 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 4.178e-06/3.329, allocations: 0 / 1.777 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.001957/3.331, allocations: 1.155 MB / 1.778 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/3.331, allocations: 84.89 kB / 1.779 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/3.333, allocations: 1.374 MB / 1.78 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/3.333, allocations: 42.61 kB / 1.78 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/3.333, allocations: 0.7046 MB / 1.781 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/3.333, allocations: 250.1 kB / 1.781 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/3.333, allocations: 15.78 kB / 1.781 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/3.334, allocations: 341.7 kB / 1.781 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/3.334, allocations: 264.2 kB / 1.781 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/3.334, allocations: 0.4926 MB / 1.782 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/3.335, allocations: 350.9 kB / 1.782 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/3.335, allocations: 0 / 1.782 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001511/3.337, allocations: 0.9868 MB / 1.783 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003026/3.337, allocations: 1.353 MB / 1.785 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/3.337, allocations: 10.78 kB / 1.785 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/3.337, allocations: 82.08 kB / 1.785 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/3.338, allocations: 178.8 kB / 1.785 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/3.34, allocations: 2.987 MB / 1.788 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/3.341, allocations: 145.4 kB / 1.788 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/3.341, allocations: 43.41 kB / 1.788 GB, free: 157 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/3.341, allocations: 3.875 kB / 1.788 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/3.342, allocations: 0.8056 MB / 1.789 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/3.342, allocations: 7.844 kB / 1.789 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/3.343, allocations: 69.94 kB / 1.789 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/3.343, allocations: 172.6 kB / 1.789 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/3.345, allocations: 2.978 MB / 1.792 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/3.346, allocations: 136.5 kB / 1.792 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/3.346, allocations: 40.3 kB / 1.792 GB, free: 154.3 MB / 0.8855 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.0009458/3.347, allocations: 457 kB / 1.792 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/3.347, allocations: 156.5 kB / 1.793 GB, free: 154 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/3.349, allocations: 0.9883 MB / 1.794 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/3.349, allocations: 7.938 kB / 1.794 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/3.349, allocations: 3.75 kB / 1.794 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009358/3.35, allocations: 0.7858 MB / 1.794 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/3.354, allocations: 2.641 MB / 1.797 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/3.354, allocations: 2.781 kB / 1.797 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/3.355, allocations: 133.8 kB / 1.797 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/3.355, allocations: 80.98 kB / 1.797 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/3.355, allocations: 19.02 kB / 1.797 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/3.357, allocations: 2.991 MB / 1.8 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/3.357, allocations: 11.67 kB / 1.8 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/3.359, allocations: 1.594 MB / 1.802 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/3.359, allocations: 370.5 kB / 1.802 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/3.36, allocations: 19.38 kB / 1.802 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007497/3.36, allocations: 59.05 kB / 1.802 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/3.361, allocations: 61.88 kB / 1.802 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/3.361, allocations: 31.95 kB / 1.802 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001954/3.363, allocations: 1.088 MB / 1.803 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/3.363, allocations: 0.5 kB / 1.803 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005446/3.368, allocations: 1.197 MB / 1.804 GB, free: 149.2 MB / 0.8855 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.00509/3.373, allocations: 4.083 MB / 1.808 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002401/3.376, allocations: 1.673 MB / 1.81 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/3.376, allocations: 0 / 1.81 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006696/3.376, allocations: 0.5849 MB / 1.811 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/3.38, allocations: 0.8092 MB / 1.811 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/3.388, allocations: 6.786 MB / 1.818 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/3.388, allocations: 1.298 MB / 1.819 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001586/3.39, allocations: 368.5 kB / 1.82 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/3.391, allocations: 0.6254 MB / 1.82 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/3.391, allocations: 3.906 kB / 1.82 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09447/3.485, allocations: 56.3 MB / 1.875 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/3.485, allocations: 301.8 kB / 1.875 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/7.588, allocations: 3 kB / 1.876 GB, free: 138.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)