Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.66 kB / 0.8993 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 157.4 MB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002387/0.2966, allocations: 1.44 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.3006, allocations: 2.899 MB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.3006, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.3007, allocations: 7.875 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.3007, allocations: 15.84 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.3042, allocations: 1.575 MB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.3043, allocations: 43.69 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3044, allocations: 7.984 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.3044, allocations: 15.94 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.3044, allocations: 19.92 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3045, allocations: 0 / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.3066, allocations: 1.459 MB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3066, allocations: 7.938 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.3066, allocations: 19.86 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.308, allocations: 1.111 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.308, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.308, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.308, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 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.0005511/0.3086, allocations: 0.5185 MB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3086, allocations: 8.625 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.3087, allocations: 110 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.3088, allocations: 84.12 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3089, allocations: 259.5 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.309, allocations: 150.9 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.743e-05/0.3091, allocations: 154.9 kB / 1.063 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.981e-05/0.3092, allocations: 108.9 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.3092, allocations: 79.28 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.3093, allocations: 150.6 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-05/0.3093, allocations: 150.6 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.3094, allocations: 162.5 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3097, allocations: 465.9 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.3098, allocations: 169.2 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.3099, allocations: 84.14 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.3099, allocations: 83.22 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.31, allocations: 117.8 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.31, allocations: 0 / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.553e-05/0.3101, allocations: 29.61 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.3101, allocations: 134.6 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3103, allocations: 131.7 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3103, allocations: 25.7 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.3104, allocations: 92.05 kB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-06/0.3104, allocations: 4 kB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3104, allocations: 21.7 kB / 1.065 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3106, allocations: 322.8 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.3106, allocations: 0 / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.3106, allocations: 7.984 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.3107, allocations: 20.8 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3107, allocations: 0 / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/0.3108, allocations: 49.64 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3108, allocations: 4 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.3108, allocations: 8.062 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3108, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.3109, allocations: 3.984 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3109, allocations: 0 / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.3109, allocations: 3.906 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3109, allocations: 4 kB / 1.065 GB, free: 11.61 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/0.311, allocations: 185.1 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.3111, allocations: 112.9 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3111, allocations: 108.9 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/0.3112, allocations: 180.2 kB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.522e-05/0.3113, allocations: 184.2 kB / 1.066 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.128e-05/0.3113, allocations: 180.3 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3116, allocations: 417.1 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/0.3116, allocations: 109 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.3117, allocations: 105 kB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.345e-05/0.3117, allocations: 180.2 kB / 1.067 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.628e-05/0.3118, allocations: 184.3 kB / 1.067 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.587e-05/0.3119, allocations: 184.2 kB / 1.067 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.888e-05/0.3119, allocations: 176.3 kB / 1.067 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.3121, allocations: 323.6 kB / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.3122, allocations: 186 kB / 1.068 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.3122, allocations: 180.2 kB / 1.068 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.3123, allocations: 109 kB / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.3124, allocations: 188.1 kB / 1.068 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.3124, allocations: 101 kB / 1.068 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.3125, allocations: 100.2 kB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3125, allocations: 0 / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006692/0.3132, allocations: 283.8 kB / 1.069 GB, free: 7.688 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/0.3146, allocations: 1.177 MB / 1.07 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3147, allocations: 41.7 kB / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3147, allocations: 0 / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-06/0.3147, allocations: 3.938 kB / 1.07 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3151, allocations: 473.9 kB / 1.07 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3166, allocations: 1.587 MB / 1.072 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3169, allocations: 0.6846 MB / 1.072 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.3169, allocations: 4 kB / 1.072 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3169, allocations: 15.44 kB / 1.072 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3169, allocations: 0 / 1.072 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6972/1.014, allocations: 7.084 MB / 1.079 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.286/10.3, allocations: 6.375 kB / 1.079 GB, free: 12.67 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)