Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.0058/0.0058, allocations: 172 kB / 16.26 MB, free: 6.613 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8.5 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2688, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007526/0.2696, allocations: 306.9 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2711, allocations: 1.001 MB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.2711, allocations: 4 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.2711, allocations: 0 / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.2719, allocations: 83.84 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.2e-05/0.2719, allocations: 15.94 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.272, allocations: 3.984 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.272, allocations: 7.984 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.272, allocations: 0 / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.2723, allocations: 44.56 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2723, allocations: 0 / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2725, allocations: 79.91 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.2725, allocations: 0 / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.2726, allocations: 29.7 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2728, allocations: 83.77 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2728, allocations: 4 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2728, allocations: 0 / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2728, allocations: 0 / 1.076 GB, free: 5.848 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003199/0.2731, allocations: 327.8 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.2732, allocations: 16.03 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.2732, allocations: 4.938 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2734, allocations: 160.4 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2734, allocations: 384 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2734, allocations: 4.375 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.2735, allocations: 29.83 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2735, allocations: 3.984 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2735, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2735, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.2736, allocations: 8 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.2739, allocations: 464.5 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.274, allocations: 177.2 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.2741, allocations: 80.14 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2741, allocations: 75.28 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.2741, allocations: 109.8 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2742, allocations: 0 / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.639e-05/0.2742, allocations: 33.55 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.2743, allocations: 134.7 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.2744, allocations: 97.86 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2744, allocations: 25.7 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.2744, allocations: 84.14 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.2744, allocations: 0 / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.2745, allocations: 9.719 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2746, allocations: 326.7 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.2746, allocations: 0 / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.2746, allocations: 0 / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.2746, allocations: 16.8 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2746, allocations: 0 / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.262e-05/0.2747, allocations: 37.7 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2748, allocations: 5.25 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2748, allocations: 4 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2748, allocations: 0 / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.454e-05/0.2748, allocations: 0 / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2748, allocations: 0 / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.2748, allocations: 3.984 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.2748, allocations: 0 / 1.078 GB, free: 3.41 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 9.324e-05/0.2749, allocations: 189.1 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.275, allocations: 109.1 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.275, allocations: 111.9 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/0.2751, allocations: 184.2 kB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/0.2752, allocations: 184.2 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.059e-05/0.2752, allocations: 180.4 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2755, allocations: 413.1 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/0.2755, allocations: 105 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.2755, allocations: 101 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.2756, allocations: 180.2 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.2757, allocations: 180.3 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.697e-05/0.2757, allocations: 180.2 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-05/0.2758, allocations: 184.3 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2759, allocations: 311.7 kB / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.276, allocations: 182.1 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.2761, allocations: 192.2 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.2762, allocations: 105 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2763, allocations: 176.3 kB / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.2763, allocations: 104.9 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.2764, allocations: 87.27 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 0 / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000265/0.2766, allocations: 20 kB / 1.081 GB, free: 15.78 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.0003934/0.277, allocations: 242 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.724e-05/0.2771, allocations: 0 / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2771, allocations: 0 / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.2771, allocations: 4 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2775, allocations: 0.5315 MB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.2779, allocations: 197.9 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2781, allocations: 0.6731 MB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.2782, allocations: 4 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.2782, allocations: 7.438 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.2782, allocations: 4 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.002899/0.2811, allocations: 0.6657 MB / 1.084 GB, free: 13.45 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)