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.0008469/0.0008469, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.006695/0.006695, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.496/1.496, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.718/1.718, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005044/0.0005044, allocations: 15.84 kB / 0.6745 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2407, allocations: 116.3 MB / 0.788 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002113/0.2429, allocations: 1.454 MB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006066/0.2489, allocations: 4.349 MB / 0.7937 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.2491, allocations: 0 / 0.7937 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2502, allocations: 362.6 kB / 0.7941 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.2504, allocations: 47.8 kB / 0.7941 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.2525, allocations: 0.7569 MB / 0.7948 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.2528, allocations: 203.3 kB / 0.795 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.2528, allocations: 13.55 kB / 0.795 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.2529, allocations: 47.73 kB / 0.7951 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.2531, allocations: 176.8 kB / 0.7953 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2532, allocations: 15.94 kB / 0.7953 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.2552, allocations: 1.4 MB / 0.7966 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.2554, allocations: 275.8 kB / 0.7969 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.2557, allocations: 339.8 kB / 0.7972 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.2575, allocations: 1.531 MB / 0.7987 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2575, allocations: 3.984 kB / 0.7987 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2575, allocations: 4 kB / 0.7987 GB, free: 428 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2575, allocations: 0 / 0.7987 GB, free: 428 kB / 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.01098/0.2685, allocations: 1.211 MB / 0.7999 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.2686, allocations: 12.03 kB / 0.7999 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.2686, allocations: 34.73 kB / 0.8 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.269, allocations: 91.59 kB / 0.8 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.2695, allocations: 410 kB / 0.8004 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2695, allocations: 4.375 kB / 0.8004 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2696, allocations: 8.312 kB / 0.8004 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.27, allocations: 399.2 kB / 0.8008 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2701, allocations: 0 / 0.8008 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.2701, allocations: 4 kB / 0.8008 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2701, allocations: 0 / 0.8008 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.2706, allocations: 431.8 kB / 0.8012 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.2712, allocations: 0.6691 MB / 0.8019 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.2718, allocations: 0.5633 MB / 0.8024 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.2721, allocations: 337.7 kB / 0.8028 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.2733, allocations: 1.036 MB / 0.8038 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.2737, allocations: 408.8 kB / 0.8042 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.2737, allocations: 0 / 0.8042 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001371/0.2751, allocations: 1.296 MB / 0.8054 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.2751, allocations: 89.08 kB / 0.8055 GB, free: 9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.2765, allocations: 1.277 MB / 0.8068 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.2766, allocations: 29.7 kB / 0.8068 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2768, allocations: 281.4 kB / 0.8071 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.2768, allocations: 23.7 kB / 0.8071 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.2771, allocations: 291.7 kB / 0.8074 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2772, allocations: 322 kB / 0.8077 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.2785, allocations: 1.354 MB / 0.809 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.2799, allocations: 1.497 MB / 0.8105 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/0.2871, allocations: 3.537 MB / 0.8139 GB, free: 276 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2871, allocations: 0 / 0.8139 GB, free: 276 kB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004103/0.2912, allocations: 3.976 MB / 0.8178 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2913, allocations: 10.8 kB / 0.8178 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2913, allocations: 0 / 0.8178 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2913, allocations: 4 kB / 0.8178 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2914, allocations: 19.94 kB / 0.8178 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2914, allocations: 4.031 kB / 0.8178 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.292, allocations: 232.3 kB / 0.8181 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.292, allocations: 19.98 kB / 0.8181 GB, free: 11.97 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.0002989/0.2923, allocations: 248.5 kB / 0.8183 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.2924, allocations: 82.56 kB / 0.8184 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.2927, allocations: 83.72 kB / 0.8185 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2927, allocations: 0 / 0.8185 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.2927, allocations: 4 kB / 0.8185 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2927, allocations: 0 / 0.8185 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2932, allocations: 0.51 MB / 0.819 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2932, allocations: 3.938 kB / 0.819 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.2932, allocations: 11.98 kB / 0.819 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2932, allocations: 3.984 kB / 0.819 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2933, allocations: 0 / 0.819 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2933, allocations: 4 kB / 0.819 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2933, allocations: 4.031 kB / 0.819 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.2942, allocations: 1.002 MB / 0.82 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2943, allocations: 163.7 kB / 0.8201 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.2944, allocations: 4 kB / 0.8201 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.2945, allocations: 7.984 kB / 0.8201 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.2946, allocations: 7.984 kB / 0.8202 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.2946, allocations: 11.98 kB / 0.8202 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007988/0.2954, allocations: 0.7179 MB / 0.8209 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2954, allocations: 0 / 0.8209 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00117/0.2966, allocations: 403.8 kB / 0.8212 GB, free: 8.613 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.002415/0.299, allocations: 1.942 MB / 0.8231 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002456/0.3015, allocations: 2.495 MB / 0.8256 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3015, allocations: 0 / 0.8256 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.3019, allocations: 339.7 kB / 0.8259 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3023, allocations: 52.78 kB / 0.826 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.3189, allocations: 15.04 MB / 0.8406 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.3195, allocations: 0.9878 MB / 0.8416 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.3197, allocations: 49.41 kB / 0.8417 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.3201, allocations: 287.3 kB / 0.8419 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of SimCode: time 1.433e-06/0.3201, allocations: 0 / 0.8419 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.3578, allocations: 19.09 MB / 0.8606 GB, free: 352 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.3581, allocations: 304.8 kB / 0.8609 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/2.841, allocations: 0 / 0.8609 GB, free: 15.96 MB / 0.6856 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)