Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001399/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00204/0.00204, allocations: 191.2 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 70.23 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2599, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00198/0.262, allocations: 0.6376 MB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2632, allocations: 0.977 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.2632, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.2632, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.2639, allocations: 91.84 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.43e-05/0.2639, allocations: 7.938 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.264, allocations: 7.938 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.264, allocations: 7.984 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.264, allocations: 8 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2643, allocations: 27.97 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.2643, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2644, allocations: 71.92 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.2644, allocations: 4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.2645, allocations: 7.938 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.2646, allocations: 67.91 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2646, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2646, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2646, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 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.0003257/0.265, allocations: 331.8 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.265, allocations: 12.03 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.265, allocations: 0.9375 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2652, allocations: 172.2 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2652, allocations: 8.375 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.2652, allocations: 384 / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.2653, allocations: 33.81 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2653, allocations: 4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2653, allocations: 0 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2653, allocations: 0 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.2653, allocations: 4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.2658, allocations: 464.5 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.2659, allocations: 173.1 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.2659, allocations: 92.09 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.266, allocations: 79.28 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.266, allocations: 109.8 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.266, allocations: 0 / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.668e-05/0.2661, allocations: 33.64 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.2662, allocations: 126.7 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.2663, allocations: 105.8 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2663, allocations: 25.7 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.2663, allocations: 80.14 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.2663, allocations: 0 / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.2663, allocations: 13.72 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2665, allocations: 314.8 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.2665, allocations: 0 / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.2665, allocations: 4 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.2665, allocations: 12.92 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2665, allocations: 0 / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.68e-05/0.2666, allocations: 41.62 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2666, allocations: 4 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2667, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2667, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.338e-05/0.2667, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2667, allocations: 4 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.2667, allocations: 0 / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2667, allocations: 4.031 kB / 0.7869 GB, free: 9.477 MB / 0.6075 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.831e-05/0.2668, allocations: 188.3 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.2669, allocations: 108.9 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.267, allocations: 116 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.562e-05/0.267, allocations: 176.3 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.57e-05/0.2671, allocations: 184.2 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-05/0.2672, allocations: 184.3 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2674, allocations: 405.2 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/0.2675, allocations: 108.9 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.2675, allocations: 105 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.899e-05/0.2676, allocations: 180.2 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.2677, allocations: 188.2 kB / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.95e-05/0.2678, allocations: 176.3 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.698e-05/0.2679, allocations: 184.2 kB / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2681, allocations: 315.7 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.2682, allocations: 178.1 kB / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.2682, allocations: 180.3 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.2683, allocations: 108.9 kB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.2684, allocations: 180.3 kB / 0.79 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.2685, allocations: 112.8 kB / 0.7901 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.2685, allocations: 79.47 kB / 0.7902 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2685, allocations: 0 / 0.7902 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002566/0.2688, allocations: 20 kB / 0.7902 GB, free: 5.848 MB / 0.6075 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.0003943/0.2692, allocations: 239.2 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.09e-05/0.2692, allocations: 0 / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2693, allocations: 0 / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.2693, allocations: 4 kB / 0.7905 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.2696, allocations: 459.7 kB / 0.7909 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.2701, allocations: 204.9 kB / 0.7911 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2704, allocations: 0.6729 MB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.2704, allocations: 8 kB / 0.7918 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.2704, allocations: 7.438 kB / 0.7918 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2704, allocations: 0 / 0.7918 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.002956/0.2734, allocations: 0.6576 MB / 0.7924 GB, free: 3.602 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)