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.001385/0.001385, allocations: 103.7 kB / 15.98 MB, free: 6.359 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.001474/0.001474, allocations: 196.9 kB / 16.91 MB, free: 6.191 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.586/1.586, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.726/1.726, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001432/0.001432, allocations: 67.73 kB / 0.6717 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2412, allocations: 114.6 MB / 0.7836 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001929/0.2431, allocations: 0.6415 MB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2444, allocations: 0.977 MB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.2444, allocations: 0 / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.2444, allocations: 0 / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.2451, allocations: 87.84 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-05/0.2451, allocations: 11.94 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.2452, allocations: 7.984 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.2452, allocations: 0 / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.2452, allocations: 7.938 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.2455, allocations: 28.62 kB / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.2455, allocations: 4 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2456, allocations: 75.92 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.2457, allocations: 7.984 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.2457, allocations: 4 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2458, allocations: 43.89 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2458, allocations: 0 / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2458, allocations: 0 / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2458, allocations: 0 / 0.7854 GB, free: 11.96 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.0003394/0.2462, allocations: 339.8 kB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2462, allocations: 12.03 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.2463, allocations: 4.922 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2464, allocations: 172.2 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.2464, allocations: 384 / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.2464, allocations: 384 / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.569e-05/0.2465, allocations: 33.77 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.2465, allocations: 0 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.2465, allocations: 0 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.2465, allocations: 4 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.2465, allocations: 0 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.247, allocations: 472.6 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.2471, allocations: 177.1 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.2471, allocations: 80.14 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2471, allocations: 75.28 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.2472, allocations: 109.8 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2472, allocations: 0 / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.818e-05/0.2473, allocations: 29.7 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.2473, allocations: 130.6 kB / 0.787 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2474, allocations: 105.8 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2475, allocations: 25.7 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.2475, allocations: 80.14 kB / 0.7872 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.2475, allocations: 8 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.2476, allocations: 9.719 kB / 0.7872 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2477, allocations: 322.7 kB / 0.7875 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.2477, allocations: 7.984 kB / 0.7875 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.2477, allocations: 0 / 0.7875 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.2477, allocations: 4.859 kB / 0.7875 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2478, allocations: 0 / 0.7875 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.2479, allocations: 41.7 kB / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2479, allocations: 4 kB / 0.7876 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2479, allocations: 0 / 0.7876 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2479, allocations: 0 / 0.7876 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-05/0.2479, allocations: 4 kB / 0.7876 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2479, allocations: 0 / 0.7876 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.248, allocations: 0 / 0.7876 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.248, allocations: 0 / 0.7876 GB, free: 9.512 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 0.0001336/0.2481, allocations: 193 kB / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.2482, allocations: 112.9 kB / 0.7878 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.2482, allocations: 108 kB / 0.7879 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.384e-05/0.2483, allocations: 180.3 kB / 0.7881 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-05/0.2484, allocations: 184.3 kB / 0.7883 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.173e-05/0.2485, allocations: 184.2 kB / 0.7885 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2487, allocations: 405.2 kB / 0.7889 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/0.2488, allocations: 112.9 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.2488, allocations: 101 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.116e-05/0.2489, allocations: 176.5 kB / 0.7892 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.249, allocations: 180.2 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.182e-05/0.2491, allocations: 188.2 kB / 0.7896 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-05/0.2492, allocations: 184.2 kB / 0.7898 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2493, allocations: 319.7 kB / 0.7901 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.2494, allocations: 178.1 kB / 0.7902 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.2495, allocations: 176.3 kB / 0.7904 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.2496, allocations: 116.9 kB / 0.7905 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.2497, allocations: 176.3 kB / 0.7907 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.2497, allocations: 104.9 kB / 0.7908 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.2498, allocations: 83.28 kB / 0.7909 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2498, allocations: 0 / 0.7909 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002876/0.2501, allocations: 23.98 kB / 0.7909 GB, free: 5.871 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.0004011/0.2505, allocations: 229.1 kB / 0.7911 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.475e-05/0.2506, allocations: 4 kB / 0.7911 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2506, allocations: 0 / 0.7911 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.2506, allocations: 3.984 kB / 0.7911 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.251, allocations: 467 kB / 0.7916 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.2514, allocations: 225.8 kB / 0.7918 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2517, allocations: 0.669 MB / 0.7924 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2518, allocations: 11.44 kB / 0.7924 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2518, allocations: 0 / 0.7924 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of Templates: time 0.002326/0.2541, allocations: 0.8581 MB / 0.7933 GB, free: 3.363 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)