Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1borehole_5meters,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001574/0.001574, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001834/0.001834, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.271/2.271, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.249/4.249, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006957/0.000696, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.229, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002174/1.231, allocations: 1.124 MB / 0.982 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.242, allocations: 3.849 MB / 0.9858 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/1.242, allocations: 0 / 0.9858 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/1.242, allocations: 7.922 kB / 0.9858 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/1.242, allocations: 39.83 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.006397/1.249, allocations: 1.083 MB / 0.9869 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/1.249, allocations: 51.92 kB / 0.9869 GB, free: 152 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/1.249, allocations: 4 kB / 0.9869 GB, free: 148 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/1.249, allocations: 47.77 kB / 0.987 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/1.25, allocations: 147.7 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/1.25, allocations: 16 kB / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007249/1.257, allocations: 1.864 MB / 0.9889 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/1.258, allocations: 251.3 kB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/1.258, allocations: 105.3 kB / 0.9893 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004795/1.263, allocations: 1.402 MB / 0.9906 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.263, allocations: 0 / 0.9906 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.194e-05/1.263, allocations: 0 / 0.9906 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.355e-05/1.263, allocations: 11.88 kB / 0.9907 GB, free: 12.3 MB / 0.7481 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.01665/1.279, allocations: 1.242 MB / 0.9919 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.4e-05/1.28, allocations: 11.98 kB / 0.9919 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.372e-05/1.28, allocations: 34.56 kB / 0.9919 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/1.28, allocations: 94.73 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/1.281, allocations: 367.6 kB / 0.9924 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/1.281, allocations: 7.984 kB / 0.9924 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/1.281, allocations: 4 kB / 0.9924 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/1.282, allocations: 391.1 kB / 0.9927 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.282, allocations: 7.938 kB / 0.9927 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/1.282, allocations: 4 kB / 0.9928 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/1.282, allocations: 4 kB / 0.9928 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/1.284, allocations: 431.7 kB / 0.9932 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.285, allocations: 0.6249 MB / 0.9938 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/1.286, allocations: 0.5711 MB / 0.9943 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002159/1.289, allocations: 1.033 MB / 0.9953 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007985/1.289, allocations: 412.8 kB / 0.9957 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/1.289, allocations: 0 / 0.9957 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.003/1.292, allocations: 1.293 MB / 0.997 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.293, allocations: 85.23 kB / 0.9971 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/1.296, allocations: 1.203 MB / 0.9983 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/1.296, allocations: 33.7 kB / 0.9983 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/1.296, allocations: 257.4 kB / 0.9985 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/1.297, allocations: 23.7 kB / 0.9986 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/1.297, allocations: 8 kB / 0.9986 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004885/1.297, allocations: 411.9 kB / 0.999 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/1.3, allocations: 1.369 MB / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/1.304, allocations: 1.511 MB / 1.002 GB, free: 424 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/1.307, allocations: 1.906 MB / 1.004 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.307, allocations: 4 kB / 1.004 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00837/1.316, allocations: 3.979 MB / 1.008 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/1.316, allocations: 12.03 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/1.316, allocations: 3.938 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.773e-05/1.316, allocations: 11.89 kB / 1.008 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/1.316, allocations: 15.98 kB / 1.008 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/1.316, allocations: 4.062 kB / 1.008 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.318, allocations: 236.2 kB / 1.008 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.318, allocations: 23.98 kB / 1.008 GB, free: 10.17 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000752/1.319, allocations: 245.6 kB / 1.008 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/1.319, allocations: 62.78 kB / 1.008 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/1.32, allocations: 75.06 kB / 1.008 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.32, allocations: 0 / 1.008 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.32, allocations: 7.953 kB / 1.008 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.32, allocations: 0 / 1.008 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/1.321, allocations: 0.4891 MB / 1.009 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.321, allocations: 0 / 1.009 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.321, allocations: 19.95 kB / 1.009 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.321, allocations: 0 / 1.009 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/1.321, allocations: 4 kB / 1.009 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.321, allocations: 0 / 1.009 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.321, allocations: 0 / 1.009 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/1.323, allocations: 1.012 MB / 1.01 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/1.323, allocations: 151.9 kB / 1.01 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.94e-05/1.323, allocations: 0 / 1.01 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/1.324, allocations: 7.984 kB / 1.01 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/1.324, allocations: 7.953 kB / 1.01 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/1.324, allocations: 19.97 kB / 1.01 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001621/1.325, allocations: 0.6649 MB / 1.011 GB, free: 7.289 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.4e-07/1.325, allocations: 0 / 1.011 GB, free: 7.289 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003672/1.329, allocations: 0.5779 MB / 1.011 GB, free: 6.711 MB / 0.7637 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.008227/1.337, allocations: 2.207 MB / 1.013 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006153/1.344, allocations: 2.546 MB / 1.016 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.344, allocations: 0 / 1.016 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008423/1.345, allocations: 343.7 kB / 1.016 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/1.345, allocations: 32.56 kB / 1.016 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/1.353, allocations: 2.645 MB / 1.019 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.354, allocations: 0.9838 MB / 1.02 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003498/1.354, allocations: 32.55 kB / 1.02 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/1.355, allocations: 271.3 kB / 1.02 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of SimCode: time 1.694e-06/1.355, allocations: 4 kB / 1.02 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08224/1.437, allocations: 20.65 MB / 1.04 GB, free: 9.109 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004202/1.438, allocations: 306.2 kB / 1.04 GB, free: 8.758 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.934/6.372, allocations: 2.062 kB / 1.04 GB, free: 8.758 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: