Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 1.681/1.681, allocations: 287.4 MB / 302.6 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 184.8 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009621/0.000962, allocations: 87.58 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004244, allocations: 16.31 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001714/0.2235, allocations: 1.415 MB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004599/0.2281, allocations: 3.928 MB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2283, allocations: 0 / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.2294, allocations: 314.7 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.2296, allocations: 51.8 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.2317, allocations: 0.7549 MB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.2319, allocations: 157 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.2319, allocations: 13.55 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.232, allocations: 51.78 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.2322, allocations: 187.6 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.2322, allocations: 12 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.2339, allocations: 1.314 MB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.2341, allocations: 263.2 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.2342, allocations: 121.2 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009824/0.2352, allocations: 1.025 MB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2352, allocations: 7.875 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2352, allocations: 0 / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2352, allocations: 7.938 kB / 0.9881 GB, free: 18.45 MB / 0.6198 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.008796/0.244, allocations: 1.214 MB / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2441, allocations: 8.031 kB / 0.9893 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.2441, allocations: 42.73 kB / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.2445, allocations: 87.59 kB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.2448, allocations: 402 kB / 0.9898 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2449, allocations: 8.375 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.2449, allocations: 8.375 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.2452, allocations: 387.3 kB / 0.9902 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2453, allocations: 0 / 0.9902 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2453, allocations: 7.922 kB / 0.9902 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2453, allocations: 4 kB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2456, allocations: 431.8 kB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.2461, allocations: 0.6652 MB / 0.9913 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.2465, allocations: 0.5632 MB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.2467, allocations: 337.7 kB / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000766/0.2475, allocations: 1.036 MB / 0.9932 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.2478, allocations: 416.8 kB / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2478, allocations: 0 / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009915/0.2488, allocations: 1.285 MB / 0.9948 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2489, allocations: 96.97 kB / 0.9949 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.2498, allocations: 1.269 MB / 0.9962 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2498, allocations: 29.7 kB / 0.9962 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.25, allocations: 285.4 kB / 0.9965 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.2501, allocations: 27.64 kB / 0.9965 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.2501, allocations: 0 / 0.9965 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2502, allocations: 419.8 kB / 0.9969 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.2511, allocations: 1.365 MB / 0.9982 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009262/0.252, allocations: 1.489 MB / 0.9997 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007018/0.259, allocations: 3.502 MB / 1.003 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2591, allocations: 0 / 1.003 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003609/0.2627, allocations: 3.957 MB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2627, allocations: 8.031 kB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.2628, allocations: 0 / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2628, allocations: 4 kB / 1.007 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2629, allocations: 19.92 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2629, allocations: 0 / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.2635, allocations: 228.3 kB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.2635, allocations: 19.98 kB / 1.007 GB, free: 14.27 MB / 0.6355 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.0003235/0.2639, allocations: 251 kB / 1.007 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.2639, allocations: 82.56 kB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.2642, allocations: 91.66 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2642, allocations: 0 / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2643, allocations: 0 / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2643, allocations: 4 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.2647, allocations: 0.5138 MB / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2647, allocations: 3.938 kB / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.2648, allocations: 8.031 kB / 1.008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2648, allocations: 4 kB / 1.008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2648, allocations: 3.984 kB / 1.008 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2648, allocations: 4 kB / 1.008 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2648, allocations: 0 / 1.008 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.2657, allocations: 1.006 MB / 1.009 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2659, allocations: 167.7 kB / 1.009 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.2659, allocations: 0 / 1.009 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2661, allocations: 7.938 kB / 1.009 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.2661, allocations: 7.984 kB / 1.009 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.2662, allocations: 11.98 kB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007509/0.2669, allocations: 0.7101 MB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2669, allocations: 0 / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001054/0.268, allocations: 403.9 kB / 1.01 GB, free: 10.89 MB / 0.6355 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.002219/0.2702, allocations: 1.92 MB / 1.012 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.2724, allocations: 2.495 MB / 1.015 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2724, allocations: 0 / 1.015 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.2728, allocations: 343.9 kB / 1.015 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.2732, allocations: 50.97 kB / 1.015 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.2832, allocations: 9.489 MB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.2838, allocations: 0.9917 MB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.284, allocations: 41.98 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2843, allocations: 279.3 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.2843, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2115/0.4958, allocations: 18.77 MB / 1.044 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/0.4962, allocations: 281.5 kB / 1.044 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.425, allocations: 4 kB / 1.044 GB, free: 8.145 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)