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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.487/1.487, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.00129/0.00129, allocations: 180 kB / 326.5 MB, free: 2.242 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.913/1.913, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.000913/0.0009131, allocations: 94.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 106.4 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004421/0.2737, allocations: 3.27 MB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.2771, allocations: 2.242 MB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.2777, allocations: 11.94 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.2791, allocations: 478.2 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.2796, allocations: 251.3 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.2799, allocations: 79.92 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.2805, allocations: 0.5623 MB / 0.9069 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.2809, allocations: 237.5 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.2812, allocations: 235.1 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.2814, allocations: 262.9 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.2815, allocations: 36 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.2816, allocations: 32 kB / 0.9077 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.2817, allocations: 131.4 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2818, allocations: 161.4 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.2824, allocations: 0.7868 MB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2824, allocations: 0 / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2824, allocations: 0 / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.2824, allocations: 0 / 0.9087 GB, free: 55.03 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001264/0.2837, allocations: 0.8527 MB / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.2838, allocations: 8.031 kB / 0.9096 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.866e-05/0.2839, allocations: 86.52 kB / 0.9096 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.284, allocations: 75.11 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.2846, allocations: 440.8 kB / 0.9101 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.2847, allocations: 37 kB / 0.9102 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.2848, allocations: 47.89 kB / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.2855, allocations: 422.5 kB / 0.9106 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2856, allocations: 0 / 0.9106 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.2856, allocations: 23.98 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2856, allocations: 12 kB / 0.9107 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.2863, allocations: 375.8 kB / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.2882, allocations: 1.535 MB / 0.9125 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.2887, allocations: 358.7 kB / 0.9129 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2888, allocations: 4 kB / 0.9129 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2888, allocations: 42.56 kB / 0.9129 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.2888, allocations: 3.938 kB / 0.9129 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0009244/0.2897, allocations: 0.5087 MB / 0.9134 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2898, allocations: 55.41 kB / 0.9135 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.2904, allocations: 485.9 kB / 0.9139 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2904, allocations: 29.7 kB / 0.9139 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.2906, allocations: 272.5 kB / 0.9142 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2908, allocations: 145.8 kB / 0.9143 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.2908, allocations: 8 kB / 0.9144 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2909, allocations: 362.8 kB / 0.9147 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.2912, allocations: 124.7 kB / 0.9148 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2914, allocations: 129.2 kB / 0.9149 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.2917, allocations: 141.9 kB / 0.9151 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2917, allocations: 4.766 kB / 0.9151 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005749/0.2923, allocations: 408.6 kB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2923, allocations: 4 kB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2923, allocations: 0 / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2923, allocations: 4 kB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.2928, allocations: 143.8 kB / 0.9156 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2928, allocations: 0 / 0.9156 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.2931, allocations: 51.52 kB / 0.9157 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2932, allocations: 16 kB / 0.9157 GB, free: 47.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.2934, allocations: 197.8 kB / 0.9159 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.2935, allocations: 51.39 kB / 0.9159 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.2936, allocations: 57.09 kB / 0.916 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2936, allocations: 4 kB / 0.916 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2936, allocations: 0 / 0.916 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2937, allocations: 4 kB / 0.916 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.2942, allocations: 0.5673 MB / 0.9165 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2943, allocations: 4 kB / 0.9165 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.2948, allocations: 127.9 kB / 0.9167 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2948, allocations: 4 kB / 0.9167 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2948, allocations: 11.95 kB / 0.9167 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2948, allocations: 4 kB / 0.9167 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2949, allocations: 0 / 0.9167 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.2958, allocations: 0.6671 MB / 0.9173 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2959, allocations: 136.4 kB / 0.9175 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.296, allocations: 8 kB / 0.9175 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2962, allocations: 31.88 kB / 0.9175 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.2963, allocations: 27.95 kB / 0.9175 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2964, allocations: 8 kB / 0.9175 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003571/0.2967, allocations: 355.1 kB / 0.9179 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2967, allocations: 0 / 0.9179 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003889/0.2971, allocations: 139.6 kB / 0.918 GB, free: 45.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/0.2983, allocations: 1.219 MB / 0.9192 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.2989, allocations: 324.3 kB / 0.9195 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2989, allocations: 3.938 kB / 0.9195 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.2991, allocations: 191.6 kB / 0.9197 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.2998, allocations: 120.6 kB / 0.9198 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.3041, allocations: 3.282 MB / 0.923 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3044, allocations: 0.8746 MB / 0.9239 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.3046, allocations: 60.38 kB / 0.9239 GB, free: 39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.3048, allocations: 187.4 kB / 0.9241 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/0.3049, allocations: 4 kB / 0.9241 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.3264, allocations: 10.31 MB / 0.9342 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.3266, allocations: 263.5 kB / 0.9344 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.512, allocations: 3.266 kB / 0.9344 GB, free: 28.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)