Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.707/2.707, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.45 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002457/0.2811, allocations: 1.505 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.2852, allocations: 2.903 MB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.2853, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.2853, allocations: 3.938 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.2854, allocations: 15.91 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.2893, allocations: 1.46 MB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.2894, allocations: 43.73 kB / 1.074 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.2894, allocations: 3.984 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.2895, allocations: 15.92 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.2895, allocations: 23.88 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2895, allocations: 4 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2916, allocations: 1.459 MB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.2916, allocations: 11.94 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.2917, allocations: 15.88 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.2932, allocations: 1.099 MB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2933, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.987e-06/0.2933, allocations: 3.984 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2933, allocations: 0 / 1.076 GB, free: 2.145 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.0006388/0.2939, allocations: 0.5184 MB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.294, allocations: 12.03 kB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.294, allocations: 76.22 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2942, allocations: 251.5 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.2942, allocations: 150.9 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.2943, allocations: 158.9 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/0.2944, allocations: 113 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.2944, allocations: 75.28 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.2945, allocations: 150.6 kB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.2945, allocations: 150.6 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.2946, allocations: 154.6 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.2949, allocations: 473.8 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.2949, allocations: 169.1 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.295, allocations: 80.14 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.295, allocations: 75.33 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.2951, allocations: 117.8 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.2951, allocations: 7.984 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.003e-05/0.2951, allocations: 29.7 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.2952, allocations: 126.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2953, allocations: 143.3 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2954, allocations: 29.64 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.2954, allocations: 84.14 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.2954, allocations: 0 / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2955, allocations: 21.72 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.2956, allocations: 318.8 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.2956, allocations: 8 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.2956, allocations: 7.938 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.2957, allocations: 12.86 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2957, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.2958, allocations: 57.53 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2958, allocations: 4 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2958, allocations: 4 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2959, allocations: 64 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.2959, allocations: 7.938 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2959, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.2959, allocations: 4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2959, allocations: 4.047 kB / 1.08 GB, free: 14.38 MB / 0.8419 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 8.442e-05/0.296, allocations: 182.9 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.2961, allocations: 120.8 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.2961, allocations: 112.9 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/0.2962, allocations: 184.3 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.196e-05/0.2963, allocations: 180.3 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-05/0.2963, allocations: 184.2 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2966, allocations: 413.2 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/0.2966, allocations: 104.9 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.2966, allocations: 116.9 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.893e-05/0.2967, allocations: 176.3 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.2968, allocations: 184.2 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.714e-05/0.2968, allocations: 180.3 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.649e-05/0.2969, allocations: 184.2 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.297, allocations: 307.8 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.2971, allocations: 193.9 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.2972, allocations: 180.3 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.2972, allocations: 104.9 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.2973, allocations: 176.3 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.2973, allocations: 109 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.2974, allocations: 104.7 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2974, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008072/0.2982, allocations: 283.8 kB / 1.083 GB, free: 10.45 MB / 0.8419 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.001066/0.2993, allocations: 0.5409 MB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2994, allocations: 37.7 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2994, allocations: 0 / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.2994, allocations: 0 / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2998, allocations: 467.6 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.3002, allocations: 250.2 kB / 1.084 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3004, allocations: 0.6846 MB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.297e-05/0.3005, allocations: 0 / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.3005, allocations: 15.44 kB / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3005, allocations: 0 / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of Templates: time 0.009254/0.3097, allocations: 5.646 MB / 1.091 GB, free: 2.805 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)