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.Functions.Validation.InternalResistancesOneUTube.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001188/0.001188, allocations: 180.6 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 2.053/2.053, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009599/0.0009602, allocations: 98.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 13.84 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001575/0.2738, allocations: 1.129 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.2777, allocations: 2.619 MB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.2777, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.2778, allocations: 3.938 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.2779, allocations: 19.95 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.2815, allocations: 1.278 MB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.751e-05/0.2815, allocations: 27.94 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.2816, allocations: 4 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.2816, allocations: 15.94 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.2817, allocations: 23.86 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.2817, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.2836, allocations: 1.174 MB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2836, allocations: 3.984 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2837, allocations: 29.7 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2849, allocations: 0.7099 MB / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2849, allocations: 0 / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2849, allocations: 0 / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2849, allocations: 0 / 0.9071 GB, free: 56.76 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007516/0.2857, allocations: 0.5183 MB / 0.9076 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2857, allocations: 12.03 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.2858, allocations: 105.8 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.2858, allocations: 79.23 kB / 0.9078 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2859, allocations: 250.2 kB / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.286, allocations: 158.6 kB / 0.9082 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.286, allocations: 154.6 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.31e-05/0.2861, allocations: 105 kB / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2861, allocations: 75.28 kB / 0.9085 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.2861, allocations: 154.5 kB / 0.9086 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.2862, allocations: 150.6 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.2862, allocations: 158.5 kB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.2864, allocations: 469.9 kB / 0.9094 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.2865, allocations: 169.1 kB / 0.9095 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2865, allocations: 75.28 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2865, allocations: 109.8 kB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2865, allocations: 4 kB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.388e-05/0.2866, allocations: 41.59 kB / 0.9098 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2867, allocations: 126.7 kB / 0.9099 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2868, allocations: 128.5 kB / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.2868, allocations: 25.7 kB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.2868, allocations: 88.14 kB / 0.9101 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.2868, allocations: 0 / 0.9101 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.2868, allocations: 4 kB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.2869, allocations: 322.8 kB / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.2869, allocations: 8 kB / 0.9104 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.287, allocations: 4 kB / 0.9104 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.287, allocations: 4 kB / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.287, allocations: 0 / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.2871, allocations: 57.47 kB / 0.9105 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2871, allocations: 4 kB / 0.9105 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.2872, allocations: 4 kB / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2872, allocations: 4.031 kB / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.2872, allocations: 0 / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2872, allocations: 4.062 kB / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.2872, allocations: 0 / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2872, allocations: 4 kB / 0.9105 GB, free: 53.01 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 (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.2873, allocations: 185.1 kB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.2874, allocations: 112.9 kB / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.2874, allocations: 112.8 kB / 0.9109 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.2874, allocations: 180.3 kB / 0.9111 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/0.2875, allocations: 184.2 kB / 0.9112 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/0.2875, allocations: 176.3 kB / 0.9114 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2877, allocations: 425.1 kB / 0.9118 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.2877, allocations: 101 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2877, allocations: 101 kB / 0.912 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.299e-05/0.2878, allocations: 184.2 kB / 0.9122 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.2878, allocations: 184.3 kB / 0.9124 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-05/0.2878, allocations: 184.2 kB / 0.9125 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.548e-05/0.2879, allocations: 180.3 kB / 0.9127 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.288, allocations: 315.6 kB / 0.913 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.2881, allocations: 190 kB / 0.9132 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.2881, allocations: 180.2 kB / 0.9134 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.2882, allocations: 105 kB / 0.9135 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.2882, allocations: 176.6 kB / 0.9136 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2883, allocations: 104.9 kB / 0.9137 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.2883, allocations: 101.6 kB / 0.9138 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2883, allocations: 0 / 0.9138 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007524/0.2891, allocations: 283.8 kB / 0.9141 GB, free: 49.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001093/0.2902, allocations: 1.164 MB / 0.9152 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.2903, allocations: 45.62 kB / 0.9153 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2903, allocations: 0 / 0.9153 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.2903, allocations: 0 / 0.9153 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2906, allocations: 0.5224 MB / 0.9158 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.2912, allocations: 0.5482 MB / 0.9163 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2914, allocations: 0.6926 MB / 0.917 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.301e-05/0.2914, allocations: 0 / 0.917 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.2914, allocations: 15.44 kB / 0.917 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2914, allocations: 0 / 0.917 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.3105, allocations: 6.702 MB / 0.9236 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.3107, allocations: 310 kB / 0.9239 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.319, allocations: 7.25 kB / 0.9239 GB, free: 39.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)