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.GFunction_SmallScaleValidation.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.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 252 MB / 267 MB, free: 10.96 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.001067/0.001066, allocations: 184.6 kB / 326.6 MB, free: 2.223 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.66/1.66, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007471/0.0007469, allocations: 96.34 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 13.31 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2235, allocations: 106.3 MB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002396/0.226, allocations: 1.423 MB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.2312, allocations: 3.915 MB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.2314, allocations: 0 / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.2326, allocations: 322.6 kB / 0.9059 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2328, allocations: 51.75 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.2355, allocations: 0.7594 MB / 0.9067 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.2358, allocations: 159.4 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.2358, allocations: 9.562 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.2359, allocations: 63.64 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2362, allocations: 179.6 kB / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.2362, allocations: 16 kB / 0.9071 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.2385, allocations: 1.31 MB / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.2387, allocations: 263.2 kB / 0.9086 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.2388, allocations: 125.1 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.2404, allocations: 1.021 MB / 0.9097 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2404, allocations: 0 / 0.9097 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2404, allocations: 8 kB / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.2405, allocations: 0 / 0.9097 GB, free: 54.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008879/0.2493, allocations: 1.218 MB / 0.9109 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2494, allocations: 12.03 kB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.2495, allocations: 38.55 kB / 0.911 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.2499, allocations: 94.61 kB / 0.9111 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.2505, allocations: 404.8 kB / 0.9114 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2505, allocations: 4 kB / 0.9114 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.2505, allocations: 8 kB / 0.9115 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.2509, allocations: 387.1 kB / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.251, allocations: 0 / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.251, allocations: 3.984 kB / 0.9118 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.251, allocations: 0 / 0.9118 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.2514, allocations: 435.8 kB / 0.9122 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.2519, allocations: 0.6613 MB / 0.9129 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.2523, allocations: 0.5672 MB / 0.9134 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.2526, allocations: 337.7 kB / 0.9138 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008192/0.2534, allocations: 1.032 MB / 0.9148 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.2537, allocations: 412.7 kB / 0.9152 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.2537, allocations: 0 / 0.9152 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001027/0.2548, allocations: 1.289 MB / 0.9164 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.2548, allocations: 89.09 kB / 0.9165 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.2558, allocations: 1.273 MB / 0.9178 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.2559, allocations: 29.7 kB / 0.9178 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.256, allocations: 281.4 kB / 0.918 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.2561, allocations: 19.8 kB / 0.9181 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.2561, allocations: 4 kB / 0.9181 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2562, allocations: 423.8 kB / 0.9185 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008542/0.2571, allocations: 1.361 MB / 0.9198 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.258, allocations: 1.497 MB / 0.9213 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.2592, allocations: 1.891 MB / 0.9231 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2592, allocations: 4 kB / 0.9231 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00344/0.2626, allocations: 3.953 MB / 0.927 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2627, allocations: 4 kB / 0.927 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.2627, allocations: 11.97 kB / 0.927 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2627, allocations: 0 / 0.927 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2628, allocations: 19.92 kB / 0.927 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2629, allocations: 0 / 0.927 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.2634, allocations: 236.3 kB / 0.9272 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.2634, allocations: 23.98 kB / 0.9273 GB, free: 35.61 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.2637, allocations: 249.6 kB / 0.9275 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.2638, allocations: 78.67 kB / 0.9276 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.2641, allocations: 79.66 kB / 0.9276 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2641, allocations: 4 kB / 0.9277 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2641, allocations: 0 / 0.9277 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2641, allocations: 0 / 0.9277 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.2645, allocations: 0.5138 MB / 0.9282 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2645, allocations: 4 kB / 0.9282 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.2646, allocations: 8.016 kB / 0.9282 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2646, allocations: 4 kB / 0.9282 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2646, allocations: 8 kB / 0.9282 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2646, allocations: 0 / 0.9282 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2646, allocations: 0 / 0.9282 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.2653, allocations: 1.01 MB / 0.9292 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2654, allocations: 159.8 kB / 0.9293 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.2655, allocations: 8 kB / 0.9293 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2657, allocations: 7.984 kB / 0.9293 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.2657, allocations: 4 kB / 0.9293 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.2658, allocations: 11.97 kB / 0.9293 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006677/0.2664, allocations: 0.7101 MB / 0.93 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2664, allocations: 0 / 0.93 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001101/0.2675, allocations: 403.8 kB / 0.9304 GB, free: 32.25 MB / 0.6042 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 (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.002294/0.2699, allocations: 1.935 MB / 0.9323 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.2716, allocations: 2.499 MB / 0.9348 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2716, allocations: 0 / 0.9348 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2718, allocations: 331.8 kB / 0.9351 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.2722, allocations: 62.17 kB / 0.9351 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/0.2809, allocations: 9.465 MB / 0.9444 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2813, allocations: 0.9879 MB / 0.9453 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.2815, allocations: 45.42 kB / 0.9454 GB, free: 16.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.2818, allocations: 279.3 kB / 0.9456 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/0.2818, allocations: 0 / 0.9456 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.3164, allocations: 18.79 MB / 0.964 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.3166, allocations: 290.8 kB / 0.9643 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/2.985, allocations: 3.938 kB / 0.9643 GB, free: 13.57 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)