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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.002504/0.002504, allocations: 196.8 kB / 16.14 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 62.33 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002818/0.2503, allocations: 1.805 MB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006087/0.2565, allocations: 4.43 MB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2566, allocations: 3.938 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2579, allocations: 358.7 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.258, allocations: 59.72 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.2601, allocations: 0.7673 MB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.2603, allocations: 187.4 kB / 0.7903 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.2604, allocations: 13.55 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.2604, allocations: 55.72 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.2606, allocations: 172.8 kB / 0.7905 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.2607, allocations: 12 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.2626, allocations: 1.4 MB / 0.7919 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2628, allocations: 275.8 kB / 0.7921 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.2631, allocations: 306.2 kB / 0.7924 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.2652, allocations: 1.535 MB / 0.7939 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2652, allocations: 0 / 0.7939 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2652, allocations: 7.938 kB / 0.7939 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2652, allocations: 0 / 0.7939 GB, free: 2.465 MB / 0.6075 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.007805/0.2731, allocations: 1.273 MB / 0.7952 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2731, allocations: 12.03 kB / 0.7952 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.12e-05/0.2732, allocations: 38.73 kB / 0.7952 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.2736, allocations: 99.5 kB / 0.7953 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.2741, allocations: 401.9 kB / 0.7957 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2741, allocations: 8.359 kB / 0.7957 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.2741, allocations: 4.375 kB / 0.7957 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.2745, allocations: 395.3 kB / 0.7961 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2746, allocations: 3.938 kB / 0.7961 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2746, allocations: 0 / 0.7961 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2746, allocations: 7.984 kB / 0.7961 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.275, allocations: 431.7 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.2757, allocations: 0.6614 MB / 0.7972 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.2762, allocations: 0.5634 MB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.2765, allocations: 333.6 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.2778, allocations: 1.028 MB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004508/0.2783, allocations: 412.8 kB / 0.7994 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2783, allocations: 4 kB / 0.7994 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.00148/0.2798, allocations: 1.289 MB / 0.8007 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.2799, allocations: 89.03 kB / 0.8008 GB, free: 11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.2812, allocations: 1.285 MB / 0.802 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.2812, allocations: 25.7 kB / 0.802 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.2814, allocations: 285.4 kB / 0.8023 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.2815, allocations: 19.8 kB / 0.8023 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.2818, allocations: 347.5 kB / 0.8027 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.2819, allocations: 326.1 kB / 0.803 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.283, allocations: 1.354 MB / 0.8043 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.2843, allocations: 1.497 MB / 0.8058 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006882/0.2912, allocations: 3.537 MB / 0.8092 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2912, allocations: 7.875 kB / 0.8092 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00398/0.2952, allocations: 3.977 MB / 0.8131 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2952, allocations: 7.984 kB / 0.8131 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.2952, allocations: 0 / 0.8131 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2953, allocations: 4 kB / 0.8131 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2954, allocations: 15.94 kB / 0.8131 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2954, allocations: 4.016 kB / 0.8131 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.2959, allocations: 228.3 kB / 0.8134 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.2959, allocations: 23.98 kB / 0.8134 GB, free: 13.9 MB / 0.6387 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002847/0.2962, allocations: 241.7 kB / 0.8136 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.2963, allocations: 74.62 kB / 0.8137 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.2966, allocations: 91.66 kB / 0.8138 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2966, allocations: 0 / 0.8138 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2966, allocations: 0 / 0.8138 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2966, allocations: 0 / 0.8138 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.297, allocations: 0.5176 MB / 0.8143 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.297, allocations: 3.938 kB / 0.8143 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.2971, allocations: 7.984 kB / 0.8143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2971, allocations: 4 kB / 0.8143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.2972, allocations: 0 / 0.8143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2972, allocations: 0 / 0.8143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2972, allocations: 4 kB / 0.8143 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.298, allocations: 1.01 MB / 0.8153 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.2982, allocations: 159.7 kB / 0.8154 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.2982, allocations: 0 / 0.8154 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2984, allocations: 7.984 kB / 0.8154 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.2984, allocations: 11.98 kB / 0.8154 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.2985, allocations: 15.98 kB / 0.8155 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00073/0.2992, allocations: 0.714 MB / 0.8162 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2992, allocations: 0 / 0.8162 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001052/0.3003, allocations: 403.8 kB / 0.8165 GB, free: 10.55 MB / 0.6387 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) * Number of clocked states: 0 () * 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 (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.002313/0.3026, allocations: 1.943 MB / 0.8184 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.3048, allocations: 2.496 MB / 0.8209 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3049, allocations: 0 / 0.8209 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.3052, allocations: 339.8 kB / 0.8212 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3056, allocations: 55.62 kB / 0.8213 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.3214, allocations: 15.02 MB / 0.8359 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.322, allocations: 0.9839 MB / 0.8369 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.3222, allocations: 41.42 kB / 0.8369 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.3225, allocations: 287.3 kB / 0.8372 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.3225, allocations: 0 / 0.8372 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.3557, allocations: 19.27 MB / 0.856 GB, free: 2.113 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/0.3561, allocations: 298.8 kB / 0.8563 GB, free: 1.734 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/2.932, allocations: 3 kB / 0.8563 GB, free: 1.734 MB / 0.67 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/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)