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.386/1.386, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009928/0.0009928, allocations: 178.8 kB / 327 MB, free: 2.094 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.742/1.742, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008421/0.000842, allocations: 90.38 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 8.406 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 106.4 MB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00179/0.2058, allocations: 1.454 MB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.2104, allocations: 4.36 MB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.2105, allocations: 7.938 kB / 0.9066 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2116, allocations: 346.7 kB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.2117, allocations: 51.72 kB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.2134, allocations: 0.7667 MB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2136, allocations: 187.4 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.2137, allocations: 13.55 kB / 0.908 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.2138, allocations: 47.78 kB / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.2139, allocations: 180.7 kB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.214, allocations: 16 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2155, allocations: 1.396 MB / 0.9096 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2157, allocations: 275.8 kB / 0.9098 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2159, allocations: 327.8 kB / 0.9101 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.2172, allocations: 1.535 MB / 0.9116 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2172, allocations: 0 / 0.9116 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2172, allocations: 0 / 0.9116 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2173, allocations: 3.938 kB / 0.9116 GB, free: 52.35 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.008904/0.2262, allocations: 1.218 MB / 0.9128 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2262, allocations: 12.03 kB / 0.9128 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.2263, allocations: 34.75 kB / 0.9129 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.2266, allocations: 95.58 kB / 0.913 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.227, allocations: 401.9 kB / 0.9133 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.227, allocations: 8.359 kB / 0.9134 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.227, allocations: 12.38 kB / 0.9134 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2274, allocations: 395.3 kB / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2274, allocations: 0 / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2274, allocations: 0 / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2274, allocations: 0 / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.2277, allocations: 439.7 kB / 0.9142 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.2282, allocations: 0.6614 MB / 0.9148 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.2285, allocations: 0.5594 MB / 0.9154 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2288, allocations: 337.7 kB / 0.9157 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/0.2296, allocations: 1.04 MB / 0.9167 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.2299, allocations: 408.8 kB / 0.9171 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.2299, allocations: 0 / 0.9171 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009364/0.2308, allocations: 1.296 MB / 0.9184 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2309, allocations: 85.11 kB / 0.9184 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008709/0.2318, allocations: 1.285 MB / 0.9197 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2318, allocations: 29.7 kB / 0.9197 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2319, allocations: 285.5 kB / 0.92 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.232, allocations: 19.75 kB / 0.92 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.232, allocations: 0 / 0.92 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.2321, allocations: 423.8 kB / 0.9204 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008444/0.233, allocations: 1.361 MB / 0.9217 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009105/0.2339, allocations: 1.493 MB / 0.9232 GB, free: 40 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006928/0.2408, allocations: 3.522 MB / 0.9266 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2408, allocations: 0 / 0.9266 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003137/0.244, allocations: 3.977 MB / 0.9305 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.244, allocations: 8 kB / 0.9305 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.244, allocations: 32 / 0.9305 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2441, allocations: 7.984 kB / 0.9305 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2442, allocations: 15.98 kB / 0.9306 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2442, allocations: 4 kB / 0.9306 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2447, allocations: 224.3 kB / 0.9308 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.2447, allocations: 23.98 kB / 0.9308 GB, free: 32.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.245, allocations: 245.6 kB / 0.931 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.2451, allocations: 74.62 kB / 0.9311 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.2453, allocations: 87.66 kB / 0.9312 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2453, allocations: 4 kB / 0.9312 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2453, allocations: 0 / 0.9312 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2454, allocations: 0 / 0.9312 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.2457, allocations: 0.5177 MB / 0.9317 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2457, allocations: 3.938 kB / 0.9317 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.2458, allocations: 11.92 kB / 0.9317 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2458, allocations: 4.031 kB / 0.9317 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2458, allocations: 4 kB / 0.9317 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2458, allocations: 0 / 0.9317 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2458, allocations: 0 / 0.9317 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.2465, allocations: 1.009 MB / 0.9327 GB, free: 30.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.2466, allocations: 167.7 kB / 0.9329 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.2466, allocations: 3.984 kB / 0.9329 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2468, allocations: 4 kB / 0.9329 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2468, allocations: 7.984 kB / 0.9329 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.2469, allocations: 19.92 kB / 0.9329 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005792/0.2475, allocations: 0.714 MB / 0.9336 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2475, allocations: 0 / 0.9336 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009295/0.2484, allocations: 403.9 kB / 0.934 GB, free: 28.73 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 (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.00184/0.2502, allocations: 1.927 MB / 0.9359 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.2518, allocations: 2.492 MB / 0.9383 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2518, allocations: 3.938 kB / 0.9383 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.2521, allocations: 343.7 kB / 0.9386 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.2525, allocations: 53.47 kB / 0.9387 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.2642, allocations: 15.06 MB / 0.9534 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2646, allocations: 0.9879 MB / 0.9543 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.2648, allocations: 45.34 kB / 0.9544 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.2651, allocations: 287.3 kB / 0.9547 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.2651, allocations: 0 / 0.9547 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.3003, allocations: 19.11 MB / 0.9733 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.3006, allocations: 307.3 kB / 0.9736 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.045, allocations: 3.453 kB / 0.9736 GB, free: 4.035 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)