Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0009016/0.0009016, allocations: 90.83 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.004747/0.004747, allocations: 172.7 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 14.44 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.291, allocations: 162.2 MB / 1.074 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006993/0.2917, allocations: 306.9 kB / 1.074 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.293, allocations: 1.001 MB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.293, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.293, allocations: 3.938 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.2937, allocations: 79.84 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.314e-05/0.2937, allocations: 15.98 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.062e-05/0.2938, allocations: 7.984 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.2938, allocations: 0 / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.2939, allocations: 8 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2941, allocations: 40.56 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.2941, allocations: 0 / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.2943, allocations: 83.91 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.2943, allocations: 7.875 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.2943, allocations: 29.69 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.2945, allocations: 75.84 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2945, allocations: 4 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2945, allocations: 0 / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.2945, allocations: 0 / 1.076 GB, free: 5.789 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.0002882/0.2948, allocations: 335.8 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2948, allocations: 8.031 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2949, allocations: 0.9375 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.295, allocations: 164.4 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.295, allocations: 384 / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.295, allocations: 384 / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.2951, allocations: 41.81 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.2951, allocations: 0 / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2951, allocations: 0 / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2951, allocations: 4 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.2951, allocations: 7.922 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.2955, allocations: 464.6 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.2956, allocations: 169.1 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.2957, allocations: 80.14 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2957, allocations: 79.28 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.2957, allocations: 117.8 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2957, allocations: 0 / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.801e-05/0.2958, allocations: 33.61 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.2959, allocations: 126.7 kB / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.2959, allocations: 93.86 kB / 1.077 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.296, allocations: 33.7 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.296, allocations: 84.14 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/0.296, allocations: 3.984 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.296, allocations: 9.719 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2961, allocations: 314.8 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-06/0.2962, allocations: 0 / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.2962, allocations: 4 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.2962, allocations: 12.73 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2962, allocations: 4.062 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.298e-05/0.2963, allocations: 37.7 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2963, allocations: 4 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2963, allocations: 0 / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2963, allocations: 3.984 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.2964, allocations: 0 / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2964, allocations: 4 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.2964, allocations: 0 / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.2964, allocations: 3.938 kB / 1.078 GB, free: 3.344 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 8.386e-05/0.2965, allocations: 189.1 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.2966, allocations: 108.9 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.2966, allocations: 107.9 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/0.2967, allocations: 180.2 kB / 1.078 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-05/0.2967, allocations: 184.2 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/0.2968, allocations: 184.4 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2971, allocations: 409.1 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.2971, allocations: 101 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.2971, allocations: 108.9 kB / 1.079 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.924e-05/0.2972, allocations: 180.3 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.2973, allocations: 176.3 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001155/0.2974, allocations: 188.2 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.402e-05/0.2974, allocations: 180.3 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.2976, allocations: 311.7 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.2976, allocations: 182.1 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.2977, allocations: 184.2 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.2978, allocations: 109 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.2979, allocations: 184.2 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.2979, allocations: 101 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.2979, allocations: 83.27 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.298, allocations: 0 / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002557/0.2982, allocations: 20 kB / 1.081 GB, free: 15.72 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.0003499/0.2986, allocations: 243.8 kB / 1.081 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.378e-05/0.2986, allocations: 4 kB / 1.081 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2986, allocations: 0 / 1.081 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.2987, allocations: 3.938 kB / 1.081 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.299, allocations: 0.5276 MB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.2993, allocations: 201.8 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2996, allocations: 0.6731 MB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.2996, allocations: 0 / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.2996, allocations: 15.44 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2996, allocations: 0 / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of Templates: time 0.002713/0.3023, allocations: 0.6641 MB / 1.084 GB, free: 13.38 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)