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/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 293 MB / 309 MB, free: 4.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 172.5 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 0.6383 GB, free: 9.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008286/0.0008288, allocations: 99.44 kB / 0.7527 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 16 kB / 0.8768 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 116.4 MB / 0.9905 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6795/0.9188, allocations: 140.7 MB / 1.128 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.9191, allocations: 105.9 kB / 1.128 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004221/0.9234, allocations: 1.961 MB / 1.13 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.746e-06/0.9234, allocations: 0.5938 kB / 1.13 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.9234, allocations: 0 / 1.13 GB, free: 32.26 MB / 0.7292 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.0002337/0.9236, allocations: 323.8 kB / 1.13 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.9237, allocations: 10.12 kB / 1.13 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.9237, allocations: 1.688 kB / 1.13 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.9238, allocations: 169.4 kB / 1.13 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.9238, allocations: 384 / 1.13 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.9238, allocations: 4.375 kB / 1.13 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.749e-05/0.9239, allocations: 32.42 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9239, allocations: 4.125 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.924, allocations: 3.938 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.924, allocations: 1.078 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.924, allocations: 0 / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.9243, allocations: 471.8 kB / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.228e-05/0.9244, allocations: 169.1 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.9244, allocations: 80.14 kB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.9244, allocations: 81.12 kB / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.9244, allocations: 113.8 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.9245, allocations: 4 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.512e-05/0.9245, allocations: 29.45 kB / 1.131 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.9246, allocations: 126.7 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.9246, allocations: 102 kB / 1.132 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.9247, allocations: 29.64 kB / 1.132 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.9247, allocations: 84.14 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.9247, allocations: 0 / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.9247, allocations: 0 / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.9248, allocations: 314.8 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.9248, allocations: 3.328 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.9248, allocations: 7.938 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.9248, allocations: 4.859 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9248, allocations: 0 / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.042e-05/0.9249, allocations: 41.64 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9249, allocations: 4 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.925, allocations: 0.6875 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.925, allocations: 4.094 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.254e-05/0.925, allocations: 0 / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.925, allocations: 3.328 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.925, allocations: 4.656 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.925, allocations: 0.75 kB / 1.132 GB, free: 29.88 MB / 0.7292 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 5.733e-05/0.9251, allocations: 189 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.9251, allocations: 104.9 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.9252, allocations: 112.7 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.9252, allocations: 183.5 kB / 1.133 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/0.9252, allocations: 181 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.9253, allocations: 177 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.9254, allocations: 408.5 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.9254, allocations: 105.9 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.9255, allocations: 114 kB / 1.134 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-05/0.9255, allocations: 180.3 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.9255, allocations: 179.5 kB / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.63e-05/0.9256, allocations: 180.2 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.608e-05/0.9256, allocations: 176.3 kB / 1.134 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.9257, allocations: 316.6 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.9257, allocations: 186 kB / 1.135 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.9258, allocations: 179.7 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.9258, allocations: 101 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.9259, allocations: 188.2 kB / 1.135 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.9259, allocations: 105 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.9259, allocations: 88.94 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9259, allocations: 0 / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002507/0.9262, allocations: 20 kB / 1.135 GB, free: 26.28 MB / 0.7292 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.0003425/0.9266, allocations: 238.8 kB / 1.136 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.681e-05/0.9266, allocations: 7.938 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9266, allocations: 0 / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.9266, allocations: 0.5625 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.9269, allocations: 0.5271 MB / 1.136 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.9272, allocations: 213.4 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.9274, allocations: 0.6724 MB / 1.137 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.9274, allocations: 0.5 kB / 1.137 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.9274, allocations: 12.28 kB / 1.137 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9274, allocations: 0 / 1.137 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.002552/0.93, allocations: 0.6366 MB / 1.138 GB, free: 24.23 MB / 0.7292 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)