Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001558/0.001558, allocations: 101.5 kB / 16.27 MB, free: 5.977 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.001827/0.001827, allocations: 188.5 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7877/0.7877, allocations: 126.4 MB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 80.06 kB / 0.4954 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3233, allocations: 78.78 MB / 0.5723 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001773/0.3251, allocations: 0.5673 MB / 0.5729 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3263, allocations: 0.9888 MB / 0.5738 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.3263, allocations: 0 / 0.5738 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.3264, allocations: 0 / 0.5738 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.327, allocations: 94.7 kB / 0.5739 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.231e-05/0.3271, allocations: 16.78 kB / 0.5739 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.657e-05/0.3271, allocations: 5.672 kB / 0.5739 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.3272, allocations: 2.656 kB / 0.5739 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.3272, allocations: 6.531 kB / 0.5739 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.3274, allocations: 34.52 kB / 0.574 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.3274, allocations: 1.125 kB / 0.574 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3276, allocations: 80.89 kB / 0.5741 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.3276, allocations: 1.156 kB / 0.5741 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3276, allocations: 2.938 kB / 0.5741 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3278, allocations: 77.2 kB / 0.5741 GB, free: 29.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3278, allocations: 0.625 kB / 0.5741 GB, free: 29.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3278, allocations: 0 / 0.5741 GB, free: 29.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3278, allocations: 0.75 kB / 0.5741 GB, free: 29.89 MB / 446.1 MB 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.0002579/0.3281, allocations: 332.1 kB / 0.5745 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.3281, allocations: 9.438 kB / 0.5745 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.3281, allocations: 2.906 kB / 0.5745 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.3282, allocations: 172.7 kB / 0.5746 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3282, allocations: 4.875 kB / 0.5746 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.3283, allocations: 6 kB / 0.5746 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.97e-05/0.3283, allocations: 28.58 kB / 0.5747 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3283, allocations: 1.469 kB / 0.5747 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.3284, allocations: 5.031 kB / 0.5747 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.3284, allocations: 0 / 0.5747 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.3284, allocations: 2.969 kB / 0.5747 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.3287, allocations: 465 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.669e-05/0.3287, allocations: 167.2 kB / 0.5753 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.3287, allocations: 91.08 kB / 0.5754 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3288, allocations: 79.78 kB / 0.5754 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3288, allocations: 112.6 kB / 0.5755 GB, free: 28.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3288, allocations: 1 kB / 0.5755 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.835e-05/0.3288, allocations: 27.53 kB / 0.5756 GB, free: 28.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.3289, allocations: 127.6 kB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.329, allocations: 102.3 kB / 0.5758 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-06/0.329, allocations: 26.58 kB / 0.5758 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.329, allocations: 85.48 kB / 0.5759 GB, free: 27.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.329, allocations: 1.719 kB / 0.5759 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.329, allocations: 13.33 kB / 0.5759 GB, free: 27.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.3291, allocations: 316.5 kB / 0.5762 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.3291, allocations: 6 kB / 0.5762 GB, free: 27.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.3291, allocations: 9.219 kB / 0.5762 GB, free: 27.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.3291, allocations: 8.969 kB / 0.5762 GB, free: 27.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3291, allocations: 1.875 kB / 0.5762 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.603e-05/0.3292, allocations: 32.84 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3292, allocations: 6.719 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3292, allocations: 0 / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3293, allocations: 0 / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.3293, allocations: 3.219 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3293, allocations: 0 / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.3293, allocations: 0 / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3293, allocations: 2.781 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB 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 4.849e-05/0.3294, allocations: 189.1 kB / 0.5765 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3294, allocations: 116.5 kB / 0.5766 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.3294, allocations: 108.3 kB / 0.5767 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.3295, allocations: 185.8 kB / 0.5769 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/0.3295, allocations: 180 kB / 0.577 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.3295, allocations: 178.2 kB / 0.5772 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3297, allocations: 411.2 kB / 0.5776 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.3297, allocations: 102 kB / 0.5777 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.3297, allocations: 109.2 kB / 0.5778 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.206e-05/0.3297, allocations: 181.8 kB / 0.578 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3298, allocations: 179.4 kB / 0.5781 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.3298, allocations: 181.2 kB / 0.5783 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-05/0.3298, allocations: 184.7 kB / 0.5785 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.684e-05/0.3299, allocations: 309.7 kB / 0.5788 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.3299, allocations: 187.8 kB / 0.579 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.33, allocations: 185.4 kB / 0.5791 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.33, allocations: 106.8 kB / 0.5792 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.3301, allocations: 182.8 kB / 0.5794 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3301, allocations: 101.7 kB / 0.5795 GB, free: 24.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.3301, allocations: 81.16 kB / 0.5796 GB, free: 24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3301, allocations: 1.281 kB / 0.5796 GB, free: 24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3304, allocations: 29.02 kB / 0.5796 GB, free: 23.99 MB / 446.1 MB 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.0003148/0.3307, allocations: 233.8 kB / 0.5798 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.364e-05/0.3308, allocations: 6.156 kB / 0.5798 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3308, allocations: 1.625 kB / 0.5798 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3308, allocations: 1.797 kB / 0.5799 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.3311, allocations: 458.2 kB / 0.5803 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.3314, allocations: 198.8 kB / 0.5805 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.714e-05/0.3315, allocations: 0.6725 MB / 0.5811 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.3315, allocations: 6.031 kB / 0.5811 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.3315, allocations: 9.891 kB / 0.5811 GB, free: 22.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3315, allocations: 0.625 kB / 0.5811 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002908/0.3344, allocations: 0.6753 MB / 0.5818 GB, free: 22.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)