Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001141/0.001141, allocations: 180.2 kB / 361.4 MB, free: 6.832 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.507/1.507, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009527/0.0009522, allocations: 102.5 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.643e-05, allocations: 4 kB / 0.8519 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6961, allocations: 115.3 MB / 0.9645 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.8898, allocations: 138.9 MB / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.8902, allocations: 103.9 kB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005188/0.8954, allocations: 2.033 MB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8954, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.8955, allocations: 0.6875 kB / 1.102 GB, free: 14.89 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.0002759/0.8957, allocations: 325.9 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.8958, allocations: 8.031 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.8959, allocations: 9.625 kB / 1.103 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.896, allocations: 167.7 kB / 1.103 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.896, allocations: 0 / 1.103 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.8961, allocations: 0.5312 kB / 1.103 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.617e-05/0.8961, allocations: 4.656 kB / 1.103 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.844e-05/0.8962, allocations: 26.33 kB / 1.103 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8962, allocations: 2.344 kB / 1.103 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.8962, allocations: 0.7188 kB / 1.103 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8962, allocations: 7.812 kB / 1.103 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.8967, allocations: 446.5 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.8968, allocations: 170.4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.8968, allocations: 80.77 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.8969, allocations: 76.28 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.8969, allocations: 107.6 kB / 1.104 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.8969, allocations: 4.688 kB / 1.104 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.163e-05/0.897, allocations: 29.7 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.8971, allocations: 51.94 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.8972, allocations: 94.39 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.8972, allocations: 25.7 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.8972, allocations: 85.55 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.8972, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8972, allocations: 4 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8974, allocations: 318.8 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.8974, allocations: 0.5938 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.8974, allocations: 1.656 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.8975, allocations: 7.953 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8975, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001349/0.8977, allocations: 39.03 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8977, allocations: 4 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8977, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8977, allocations: 0.875 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.8977, allocations: 5.688 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.8978, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.8978, allocations: 2.781 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.8978, allocations: 0 / 1.104 GB, free: 12.63 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 () * 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 9.726e-05/0.8979, allocations: 184 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.337e-05/0.898, allocations: 138.6 kB / 1.105 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.8981, allocations: 103.9 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.8981, allocations: 120.7 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.8982, allocations: 176.3 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/0.8983, allocations: 180.2 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/0.8983, allocations: 185 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.8986, allocations: 381.8 kB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/0.8986, allocations: 108.9 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.8987, allocations: 112.9 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.376e-05/0.8987, allocations: 176.3 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/0.8988, allocations: 180.3 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/0.8989, allocations: 185.8 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.779e-05/0.899, allocations: 180.2 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.8991, allocations: 309 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.8993, allocations: 178.1 kB / 1.107 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.8994, allocations: 188.2 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.8994, allocations: 104.9 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.8995, allocations: 177.2 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.8995, allocations: 101 kB / 1.108 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.8996, allocations: 83.28 kB / 1.108 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8996, allocations: 0 / 1.108 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003208/0.8999, allocations: 27.97 kB / 1.108 GB, free: 8.914 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 () * 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.0007248/0.9007, allocations: 0.8795 MB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.829e-05/0.9007, allocations: 4 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9007, allocations: 0 / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.9008, allocations: 4 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.9011, allocations: 0.5223 MB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.9043, allocations: 1.072 MB / 1.11 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.9045, allocations: 0.6729 MB / 1.111 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.9046, allocations: 4 kB / 1.111 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.9046, allocations: 17.14 kB / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.9047, allocations: 0 / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.9248, allocations: 0.9814 MB / 1.112 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.925, allocations: 250.8 kB / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.598, allocations: 2.234 kB / 1.112 GB, free: 4.445 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)