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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001348/0.001349, allocations: 182.4 kB / 376.9 MB, free: 1.805 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.758/1.758, allocations: 205 MB / 0.6353 GB, free: 9.781 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.0009614/0.0009613, allocations: 97.06 kB / 0.7479 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2152, allocations: 114.5 MB / 0.9823 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001957/0.2172, allocations: 0.63 MB / 0.9829 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2185, allocations: 0.9915 MB / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.2186, allocations: 0 / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2186, allocations: 0 / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.2193, allocations: 87.84 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.454e-05/0.2193, allocations: 8 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.2194, allocations: 8 kB / 0.9839 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.2194, allocations: 0 / 0.9839 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.2195, allocations: 4 kB / 0.9839 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2197, allocations: 31.95 kB / 0.984 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2197, allocations: 0 / 0.984 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.2199, allocations: 91.78 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.2199, allocations: 0 / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.22, allocations: 0 / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2201, allocations: 67.91 kB / 0.9841 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2201, allocations: 4 kB / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2201, allocations: 0 / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2201, allocations: 7.938 kB / 0.9841 GB, free: 8.395 MB / 0.7136 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.0003304/0.2205, allocations: 343.7 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2205, allocations: 8.031 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.2205, allocations: 0.9375 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2207, allocations: 164.4 kB / 0.9846 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.2207, allocations: 4.359 kB / 0.9846 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2207, allocations: 384 / 0.9846 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.811e-05/0.2208, allocations: 37.83 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2208, allocations: 4 kB / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2208, allocations: 0 / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.2208, allocations: 3.938 kB / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.2209, allocations: 3.984 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.2213, allocations: 464.6 kB / 0.9851 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.2214, allocations: 169.1 kB / 0.9853 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.2214, allocations: 84.14 kB / 0.9854 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.2214, allocations: 75.28 kB / 0.9854 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.2215, allocations: 117.8 kB / 0.9856 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2215, allocations: 0 / 0.9856 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.314e-05/0.2216, allocations: 29.7 kB / 0.9856 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.2216, allocations: 126.7 kB / 0.9857 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.2217, allocations: 97.86 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2217, allocations: 25.7 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.2218, allocations: 92.12 kB / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2218, allocations: 0 / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2218, allocations: 9.719 kB / 0.9859 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2219, allocations: 318.8 kB / 0.9862 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.222, allocations: 0 / 0.9862 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.222, allocations: 0 / 0.9862 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.222, allocations: 16.86 kB / 0.9862 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.222, allocations: 0 / 0.9862 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.09e-05/0.2221, allocations: 41.59 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2221, allocations: 4 kB / 0.9863 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2221, allocations: 4 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2221, allocations: 0 / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-05/0.2222, allocations: 3.938 kB / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2222, allocations: 0 / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.2222, allocations: 0 / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.2222, allocations: 4.031 kB / 0.9863 GB, free: 5.941 MB / 0.7136 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.216e-05/0.2223, allocations: 193 kB / 0.9865 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.2224, allocations: 104.9 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.2224, allocations: 108.1 kB / 0.9867 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-05/0.2225, allocations: 192.3 kB / 0.9869 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.632e-05/0.2226, allocations: 184.2 kB / 0.987 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-05/0.2226, allocations: 176.3 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2229, allocations: 413.1 kB / 0.9876 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-05/0.2229, allocations: 101 kB / 0.9877 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.223, allocations: 112.9 kB / 0.9878 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.223, allocations: 176.3 kB / 0.988 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.2231, allocations: 188.2 kB / 0.9881 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.065e-05/0.2232, allocations: 180.2 kB / 0.9883 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-05/0.2233, allocations: 176.3 kB / 0.9885 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.2237, allocations: 0.8531 MB / 0.9893 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.2237, allocations: 178.1 kB / 0.9895 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.2238, allocations: 180.2 kB / 0.9897 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.2239, allocations: 108.9 kB / 0.9898 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.224, allocations: 180.2 kB / 0.9899 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.224, allocations: 104.9 kB / 0.99 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.2241, allocations: 87.28 kB / 0.9901 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2241, allocations: 0 / 0.9901 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003888/0.2245, allocations: 23.98 kB / 0.9901 GB, free: 1.727 MB / 0.7136 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.0003601/0.2248, allocations: 226.5 kB / 0.9904 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.702e-05/0.2249, allocations: 4 kB / 0.9904 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2249, allocations: 4.062 kB / 0.9904 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.2249, allocations: 0 / 0.9904 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.2253, allocations: 0.5262 MB / 0.9909 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.2257, allocations: 197.9 kB / 0.9911 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.2259, allocations: 0.677 MB / 0.9917 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.226, allocations: 0 / 0.9917 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.226, allocations: 15.42 kB / 0.9917 GB, free: 20 kB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.226, allocations: 0 / 0.9917 GB, free: 20 kB / 0.7136 GB Notification: Performance of Templates: time 0.002479/0.2285, allocations: 0.6448 MB / 0.9924 GB, free: 15.41 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)