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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 67.05 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2904, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00268/0.2931, allocations: 1.515 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.2976, allocations: 3.016 MB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2977, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.2977, allocations: 3.984 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.2978, allocations: 11.88 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.3014, allocations: 1.404 MB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.948e-05/0.3015, allocations: 39.75 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.3015, allocations: 11.97 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.3016, allocations: 15.92 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.3016, allocations: 19.88 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.3016, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.3038, allocations: 1.462 MB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.3038, allocations: 11.92 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3039, allocations: 15.88 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3055, allocations: 1.131 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3055, allocations: 0 / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3055, allocations: 0 / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.3055, allocations: 0 / 1.076 GB, free: 2.203 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.0006508/0.3062, allocations: 0.5263 MB / 1.077 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3062, allocations: 8.031 kB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.3063, allocations: 84.22 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3064, allocations: 247.6 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.3065, allocations: 154.9 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.3065, allocations: 150.9 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.015e-05/0.3066, allocations: 105.1 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.3067, allocations: 83.22 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.3067, allocations: 150.6 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.3068, allocations: 154.6 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.807e-05/0.3068, allocations: 162.5 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.3071, allocations: 465.8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.3072, allocations: 173.1 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.3073, allocations: 88.08 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3073, allocations: 75.28 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.3073, allocations: 113.8 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.3073, allocations: 0 / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.567e-05/0.3074, allocations: 25.7 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.3075, allocations: 130.7 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3076, allocations: 138.9 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3076, allocations: 29.7 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3077, allocations: 96.12 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.3077, allocations: 0 / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3077, allocations: 13.72 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3079, allocations: 318.8 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.3079, allocations: 7.938 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.3079, allocations: 8 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.308, allocations: 12.86 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.308, allocations: 7.969 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001255/0.3081, allocations: 57.53 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3081, allocations: 9.875 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.3082, allocations: 4 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3082, allocations: 0 / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-07/0.3082, allocations: 0 / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.3082, allocations: 0 / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.3082, allocations: 0 / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3082, allocations: 0 / 1.079 GB, free: 14.43 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 9.961e-05/0.3083, allocations: 194.8 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.3084, allocations: 112.8 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.3084, allocations: 108.8 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-05/0.3085, allocations: 184.2 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-05/0.3086, allocations: 180.3 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/0.3086, allocations: 180.2 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3089, allocations: 421.3 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/0.3089, allocations: 104.9 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.309, allocations: 108.9 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.33e-05/0.309, allocations: 176.3 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.3091, allocations: 184.4 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.441e-05/0.3092, allocations: 188.3 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.536e-05/0.3092, allocations: 176.3 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.3093, allocations: 307.8 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/0.3094, allocations: 197.9 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.3095, allocations: 180.2 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.3096, allocations: 105 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.3097, allocations: 188.2 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.3097, allocations: 101 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.3098, allocations: 99.25 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3098, allocations: 0 / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007819/0.3106, allocations: 283.8 kB / 1.083 GB, free: 10.51 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.00111/0.3117, allocations: 0.5356 MB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.3118, allocations: 41.64 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3118, allocations: 4 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3118, allocations: 0 / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3123, allocations: 0.538 MB / 1.084 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.3126, allocations: 254.4 kB / 1.084 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3129, allocations: 0.6848 MB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.3129, allocations: 0 / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.3129, allocations: 7.438 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3129, allocations: 0 / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.009797/0.3227, allocations: 5.681 MB / 1.091 GB, free: 2.738 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)