Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.232/2.232, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001266, allocations: 182.1 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 90.94 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004845, allocations: 12.03 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.4806, allocations: 133.1 MB / 1.03 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004188/0.4811, allocations: 111.9 kB / 1.03 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00739/0.4885, allocations: 1.958 MB / 1.032 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4885, allocations: 3.938 kB / 1.032 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4886, allocations: 0 / 1.032 GB, free: 10.12 MB / 0.6823 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.0003384/0.4889, allocations: 335.5 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.489, allocations: 12.03 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.489, allocations: 0.9375 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.4892, allocations: 168.4 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4892, allocations: 4.375 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4892, allocations: 384 / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.4893, allocations: 26.27 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.4893, allocations: 4.188 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4893, allocations: 3.938 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.4894, allocations: 0 / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.4894, allocations: 7.938 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.4899, allocations: 466.5 kB / 1.033 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.155e-05/0.49, allocations: 169.1 kB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.49, allocations: 84.14 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.4901, allocations: 75.28 kB / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.4901, allocations: 113.8 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.4902, allocations: 3.938 kB / 1.033 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.405e-05/0.4902, allocations: 29.7 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.4903, allocations: 126.7 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4904, allocations: 101.8 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4905, allocations: 25.7 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.4905, allocations: 88.14 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4905, allocations: 0 / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.4906, allocations: 0 / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4907, allocations: 310.8 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.4907, allocations: 0 / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.4907, allocations: 0 / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.924e-05/0.4908, allocations: 4 kB / 1.034 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4908, allocations: 0 / 1.034 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.4909, allocations: 45.56 kB / 1.034 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4909, allocations: 12.09 kB / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4909, allocations: 0 / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.491, allocations: 0 / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.616e-05/0.491, allocations: 3.938 kB / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.491, allocations: 0 / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.491, allocations: 0 / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.491, allocations: 0 / 1.034 GB, free: 7.707 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.4911, allocations: 189.1 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.4912, allocations: 109 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.4913, allocations: 108 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-05/0.4914, allocations: 188.4 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.597e-05/0.4915, allocations: 184.2 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.953e-05/0.4916, allocations: 180.2 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.4919, allocations: 409.1 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.073e-05/0.4919, allocations: 105 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.492, allocations: 101 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-05/0.4921, allocations: 188.2 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.4922, allocations: 180.3 kB / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.271e-05/0.4923, allocations: 180.2 kB / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.579e-05/0.4923, allocations: 180.3 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.4925, allocations: 315.6 kB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4926, allocations: 182.1 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-05/0.4927, allocations: 180.2 kB / 1.037 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.4928, allocations: 101 kB / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.4929, allocations: 188.2 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.493, allocations: 112.9 kB / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.4931, allocations: 79.28 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4931, allocations: 0 / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003591/0.4934, allocations: 16 kB / 1.037 GB, free: 4.082 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004966/0.4939, allocations: 243.3 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.689e-05/0.494, allocations: 4 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.494, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.494, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4945, allocations: 0.5273 MB / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.4949, allocations: 202.4 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4952, allocations: 0.6692 MB / 1.039 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.4953, allocations: 8 kB / 1.039 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.4953, allocations: 11.38 kB / 1.039 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/0.4953, allocations: 0 / 1.039 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of Templates: time 0.003565/0.4989, allocations: 0.6418 MB / 1.039 GB, free: 1.766 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)