Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 252 MB / 267.3 MB, free: 10.85 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.001203/0.001204, allocations: 188.9 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.578 GB, free: 20.2 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.000934/0.0009336, allocations: 80.72 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002915, allocations: 11.72 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1926, allocations: 106.3 MB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005896/0.1932, allocations: 306.6 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1944, allocations: 0.9877 MB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.018e-05/0.1945, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1945, allocations: 4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006453/0.1951, allocations: 79.84 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.665e-05/0.1952, allocations: 11.94 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.751e-05/0.1952, allocations: 8 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.1953, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.1953, allocations: 7.984 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1955, allocations: 31.86 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1955, allocations: 0 / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1957, allocations: 79.91 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.1957, allocations: 4 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.1957, allocations: 33.67 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1958, allocations: 67.86 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1958, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1959, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.1959, allocations: 8 kB / 0.9025 GB, free: 61.74 MB / 0.6042 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.0001914/0.1961, allocations: 331.5 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1961, allocations: 11.97 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.974e-05/0.1961, allocations: 34.75 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.548e-05/0.1961, allocations: 0.9375 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.438e-05/0.1962, allocations: 160.7 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1962, allocations: 384 / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1962, allocations: 4.375 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.169e-05/0.1963, allocations: 37.62 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1963, allocations: 0 / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-06/0.1963, allocations: 0 / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1963, allocations: 0 / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.1964, allocations: 4 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.1966, allocations: 464.5 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.64e-05/0.1967, allocations: 177.2 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.1967, allocations: 80.14 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.1967, allocations: 75.28 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1967, allocations: 105.8 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1967, allocations: 0 / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.372e-05/0.1968, allocations: 37.66 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1968, allocations: 130.7 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.1969, allocations: 109.8 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.1969, allocations: 25.7 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.1969, allocations: 88.03 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.1969, allocations: 0 / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.197, allocations: 0 / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.197, allocations: 318.8 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.197, allocations: 4 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.197, allocations: 7.938 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.641e-05/0.197, allocations: 12.92 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1971, allocations: 0 / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.224e-05/0.1971, allocations: 33.64 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1971, allocations: 4 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1972, allocations: 0 / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1972, allocations: 4 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.456e-05/0.1972, allocations: 0 / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.1972, allocations: 0 / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.1972, allocations: 4 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1972, allocations: 8.016 kB / 0.9047 GB, free: 59.26 MB / 0.6042 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 4.57e-05/0.1973, allocations: 189.1 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1973, allocations: 108.9 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.1973, allocations: 104.1 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.1974, allocations: 176.3 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.1974, allocations: 192.2 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.1974, allocations: 180.2 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1976, allocations: 405.2 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.1976, allocations: 113 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.1976, allocations: 101 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.521e-05/0.1976, allocations: 180.2 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.1977, allocations: 180.3 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.527e-05/0.1977, allocations: 184.2 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.109e-05/0.1977, allocations: 184.2 kB / 0.9069 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.937e-05/0.1978, allocations: 307.7 kB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1978, allocations: 190.1 kB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1979, allocations: 188.2 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.1979, allocations: 101 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.198, allocations: 176.3 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.198, allocations: 104.9 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.412e-05/0.198, allocations: 87.27 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.198, allocations: 4 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002491/0.1983, allocations: 20 kB / 0.908 GB, free: 55.64 MB / 0.6042 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.0004199/0.1987, allocations: 0.8545 MB / 0.9089 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.341e-05/0.1987, allocations: 7.938 kB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.1988, allocations: 0 / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1988, allocations: 0 / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.199, allocations: 0.5146 MB / 0.9094 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.1994, allocations: 245.2 kB / 0.9096 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.349e-05/0.1995, allocations: 0.6731 MB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.1995, allocations: 336 / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.1996, allocations: 17.66 kB / 0.9103 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of SimCode: time 4.4e-07/0.1996, allocations: 0 / 0.9103 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009287/0.2089, allocations: 1.322 MB / 0.9116 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.209, allocations: 325.4 kB / 0.9119 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.84, allocations: 0 / 0.9119 GB, free: 51.78 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)