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.001296/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001336/0.001336, allocations: 192.9 kB / 16.14 MB, free: 6.695 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.58 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2679, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001797/0.2697, allocations: 0.6308 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2709, allocations: 1.013 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.124e-05/0.271, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.271, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.2716, allocations: 75.86 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.274e-05/0.2717, allocations: 15.98 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.24e-05/0.2717, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.2717, allocations: 3.938 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.2718, allocations: 7.922 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.272, allocations: 36.62 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.272, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.2722, allocations: 79.91 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.2722, allocations: 7.984 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.2722, allocations: 4 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2724, allocations: 75.84 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2724, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2724, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2724, allocations: 0 / 1.069 GB, free: 8.883 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.0003001/0.2727, allocations: 335.8 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2727, allocations: 12.03 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.2728, allocations: 4.938 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2729, allocations: 164.4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.2729, allocations: 4.375 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.2729, allocations: 384 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.376e-05/0.273, allocations: 37.77 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.273, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.273, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.273, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.273, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.2734, allocations: 476.5 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.2735, allocations: 177.1 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.2735, allocations: 84.08 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.2736, allocations: 83.3 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.2736, allocations: 109.8 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.224e-06/0.2736, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.246e-05/0.2737, allocations: 29.64 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2738, allocations: 126.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.2738, allocations: 105.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2739, allocations: 25.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2739, allocations: 84.08 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.2739, allocations: 4 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2739, allocations: 13.72 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.274, allocations: 318.8 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.2741, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.2741, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.2741, allocations: 8.859 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2741, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.154e-05/0.2742, allocations: 37.75 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2742, allocations: 8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2742, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.2742, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.656e-05/0.2743, allocations: 3.938 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2743, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.2743, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2743, allocations: 4 kB / 1.072 GB, free: 6.426 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 7.639e-05/0.2744, allocations: 189.1 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.2744, allocations: 109 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.2745, allocations: 111.9 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/0.2745, allocations: 180.2 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/0.2746, allocations: 180.4 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/0.2746, allocations: 180.2 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.2749, allocations: 413.2 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.092e-05/0.2749, allocations: 101 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.2749, allocations: 104.9 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-05/0.275, allocations: 184.2 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.275, allocations: 180.2 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.19e-05/0.2751, allocations: 180.3 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.356e-05/0.2752, allocations: 188.2 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2753, allocations: 307.8 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.2754, allocations: 185.9 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.2755, allocations: 184.3 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.2755, allocations: 112.9 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.2756, allocations: 180.2 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.2756, allocations: 108.9 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2757, allocations: 79.28 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2757, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002498/0.2759, allocations: 20 kB / 1.075 GB, free: 2.797 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.0003481/0.2763, allocations: 237.9 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.858e-05/0.2764, allocations: 0 / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2764, allocations: 4 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2764, allocations: 0 / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2767, allocations: 0.5294 MB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.2771, allocations: 201.9 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2773, allocations: 0.677 MB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.2773, allocations: 0 / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.2773, allocations: 11.44 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2773, allocations: 4 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.002714/0.2801, allocations: 0.6551 MB / 1.077 GB, free: 476 kB / 0.8262 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)