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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001149/0.001149, allocations: 181.4 kB / 326.5 MB, free: 2.219 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.883/1.883, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0008499/0.0008499, allocations: 94.09 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003536, allocations: 11.72 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2235, allocations: 106.3 MB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001843/0.2254, allocations: 1.385 MB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.2298, allocations: 3.838 MB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.2299, allocations: 0 / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009785/0.2309, allocations: 347.1 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.231, allocations: 55.84 kB / 0.9057 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.2329, allocations: 0.7145 MB / 0.9064 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.233, allocations: 107.7 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.379e-05/0.2331, allocations: 13.48 kB / 0.9065 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.2332, allocations: 51.78 kB / 0.9065 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.2333, allocations: 163.6 kB / 0.9067 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.2334, allocations: 16 kB / 0.9067 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.2348, allocations: 1.252 MB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.235, allocations: 255.3 kB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.2351, allocations: 125.1 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.236, allocations: 1.025 MB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2361, allocations: 8 kB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2361, allocations: 0 / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2361, allocations: 0 / 0.9093 GB, free: 54.8 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.00985/0.2459, allocations: 1.222 MB / 0.9105 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.246, allocations: 12.03 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.246, allocations: 34.56 kB / 0.9105 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.2464, allocations: 98.61 kB / 0.9106 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.2469, allocations: 396.8 kB / 0.911 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2469, allocations: 8 kB / 0.911 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.2469, allocations: 7.984 kB / 0.911 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.2473, allocations: 387.1 kB / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2473, allocations: 4 kB / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2473, allocations: 0 / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2473, allocations: 4 kB / 0.9114 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.2477, allocations: 435.7 kB / 0.9118 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.2482, allocations: 0.6613 MB / 0.9125 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.2486, allocations: 0.5594 MB / 0.913 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008477/0.2495, allocations: 1.04 MB / 0.914 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.2498, allocations: 408.7 kB / 0.9144 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2498, allocations: 0 / 0.9144 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001049/0.2509, allocations: 1.293 MB / 0.9157 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2509, allocations: 89.09 kB / 0.9158 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/0.2519, allocations: 1.262 MB / 0.917 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.252, allocations: 33.83 kB / 0.917 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.2521, allocations: 285.4 kB / 0.9173 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2522, allocations: 19.73 kB / 0.9173 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.2522, allocations: 4 kB / 0.9173 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2524, allocations: 423.8 kB / 0.9177 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/0.2533, allocations: 1.361 MB / 0.9191 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009824/0.2543, allocations: 1.493 MB / 0.9205 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2555, allocations: 1.891 MB / 0.9224 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2555, allocations: 3.938 kB / 0.9224 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003221/0.2587, allocations: 3.957 MB / 0.9262 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.2588, allocations: 4 kB / 0.9262 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.2588, allocations: 4 kB / 0.9262 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2589, allocations: 8.016 kB / 0.9262 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.259, allocations: 15.94 kB / 0.9263 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.259, allocations: 8 kB / 0.9263 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.2596, allocations: 236.3 kB / 0.9265 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.2596, allocations: 23.98 kB / 0.9265 GB, free: 36.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.0002911/0.2599, allocations: 249.6 kB / 0.9268 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.26, allocations: 70.69 kB / 0.9268 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.2603, allocations: 87.66 kB / 0.9269 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2603, allocations: 4 kB / 0.9269 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2603, allocations: 0 / 0.9269 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2603, allocations: 0 / 0.9269 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.2607, allocations: 0.506 MB / 0.9274 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2607, allocations: 4 kB / 0.9274 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.2607, allocations: 11.98 kB / 0.9274 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2608, allocations: 32 / 0.9274 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2608, allocations: 8 kB / 0.9274 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2608, allocations: 0 / 0.9274 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2608, allocations: 0 / 0.9274 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.2615, allocations: 1.024 MB / 0.9284 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.2616, allocations: 163.8 kB / 0.9286 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.2617, allocations: 8 kB / 0.9286 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2619, allocations: 7.984 kB / 0.9286 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2619, allocations: 0 / 0.9286 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.2619, allocations: 15.97 kB / 0.9286 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006607/0.2626, allocations: 0.7062 MB / 0.9293 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2626, allocations: 4 kB / 0.9293 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001185/0.2638, allocations: 399.8 kB / 0.9297 GB, free: 33.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.001913/0.2657, allocations: 2.006 MB / 0.9317 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.2676, allocations: 2.493 MB / 0.9341 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2676, allocations: 3.938 kB / 0.9341 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.2679, allocations: 339.9 kB / 0.9344 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2682, allocations: 52.64 kB / 0.9345 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.2714, allocations: 2.747 MB / 0.9371 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.2718, allocations: 1.003 MB / 0.9381 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.272, allocations: 45.41 kB / 0.9382 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.2724, allocations: 283.3 kB / 0.9384 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.2724, allocations: 0 / 0.9384 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.3035, allocations: 17.63 MB / 0.9557 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.3037, allocations: 285.9 kB / 0.9559 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.158, allocations: 0 / 0.9559 GB, free: 6.395 MB / 0.6042 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)