Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001303/0.001303, allocations: 185.2 kB / 371.6 MB, free: 3.398 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.665/1.665, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001002/0.001002, allocations: 92.45 kB / 0.745 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.467e-05/5.469e-05, allocations: 4 kB / 0.8664 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2654, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8924/1.158, allocations: 158.4 MB / 1.135 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/1.158, allocations: 114.8 kB / 1.135 GB, free: 31.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1034/1.262, allocations: 29.68 MB / 1.164 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/1.262, allocations: 1.125 kB / 1.164 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.854e-05/1.262, allocations: 16 kB / 1.164 GB, free: 12.7 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002776/1.265, allocations: 1.055 MB / 1.165 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/1.265, allocations: 12.03 kB / 1.165 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/1.265, allocations: 33.56 kB / 1.165 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/1.265, allocations: 102.7 kB / 1.165 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/1.266, allocations: 471 kB / 1.165 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/1.266, allocations: 21.94 kB / 1.165 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/1.266, allocations: 33.12 kB / 1.165 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/1.267, allocations: 385.6 kB / 1.166 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.267, allocations: 4 kB / 1.166 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/1.267, allocations: 8 kB / 1.166 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.267, allocations: 0.75 kB / 1.166 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/1.267, allocations: 426.8 kB / 1.166 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/1.268, allocations: 0.7717 MB / 1.167 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/1.268, allocations: 0.5607 MB / 1.167 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/1.268, allocations: 333.1 kB / 1.168 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008171/1.269, allocations: 1.04 MB / 1.169 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/1.269, allocations: 396.7 kB / 1.169 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.355e-06/1.269, allocations: 4 kB / 1.169 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0007912/1.27, allocations: 0.973 MB / 1.17 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.27, allocations: 85.05 kB / 1.17 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.271, allocations: 1.116 MB / 1.171 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/1.271, allocations: 39.33 kB / 1.171 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/1.272, allocations: 298.8 kB / 1.172 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/1.272, allocations: 23.64 kB / 1.172 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/1.272, allocations: 14.69 kB / 1.172 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.272, allocations: 427.1 kB / 1.172 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.273, allocations: 1.209 MB / 1.173 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.274, allocations: 1.341 MB / 1.175 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.275, allocations: 1.602 MB / 1.176 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/1.275, allocations: 0 / 1.176 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00395/1.279, allocations: 3.425 MB / 1.179 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.279, allocations: 4 kB / 1.179 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/1.279, allocations: 4 kB / 1.179 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.279, allocations: 4.031 kB / 1.179 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/1.28, allocations: 143.5 kB / 1.18 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.28, allocations: 8.766 kB / 1.18 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/1.281, allocations: 239.8 kB / 1.18 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.281, allocations: 59.86 kB / 1.18 GB, free: 14.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001781/1.281, allocations: 128.1 kB / 1.18 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/1.281, allocations: 74.62 kB / 1.18 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/1.282, allocations: 0.9467 MB / 1.181 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.282, allocations: 0 / 1.181 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.282, allocations: 0 / 1.181 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/1.282, allocations: 4 kB / 1.181 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/1.283, allocations: 0.5143 MB / 1.182 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.283, allocations: 0 / 1.182 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/1.283, allocations: 15.92 kB / 1.182 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.283, allocations: 0 / 1.182 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/1.283, allocations: 4.812 kB / 1.182 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/1.283, allocations: 8.031 kB / 1.182 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.283, allocations: 0 / 1.182 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/1.284, allocations: 1.008 MB / 1.183 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/1.284, allocations: 159.4 kB / 1.183 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/1.284, allocations: 4 kB / 1.183 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/1.285, allocations: 11.98 kB / 1.183 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/1.285, allocations: 3.984 kB / 1.183 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/1.285, allocations: 23.36 kB / 1.183 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001052/1.286, allocations: 0.698 MB / 1.183 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.286, allocations: 0.75 kB / 1.183 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002594/1.288, allocations: 0.4955 MB / 1.184 GB, free: 10.51 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004178/1.293, allocations: 2.177 MB / 1.186 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002652/1.295, allocations: 2.347 MB / 1.188 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.295, allocations: 0 / 1.188 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/1.296, allocations: 330.3 kB / 1.189 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.296, allocations: 55.36 kB / 1.189 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/1.3, allocations: 1.86 MB / 1.19 GB, free: 4.555 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/1.301, allocations: 1.009 MB / 1.191 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002718/1.301, allocations: 55.72 kB / 1.192 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.301, allocations: 297.9 kB / 1.192 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of SimCode: time 1.532e-06/1.301, allocations: 0.8438 kB / 1.192 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/1.348, allocations: 19.67 MB / 1.211 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.349, allocations: 239.5 kB / 1.211 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/4.513, allocations: 6.438 kB / 1.211 GB, free: 15.66 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)