Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001872, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001833/0.001833, allocations: 191.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8777/0.8777, allocations: 135.1 MB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 64.55 kB / 0.505 GB, free: 5.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1646, allocations: 80.92 MB / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003181/0.1678, allocations: 1.788 MB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.1739, allocations: 4.204 MB / 0.5899 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.174, allocations: 3.938 kB / 0.5899 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.1753, allocations: 342.7 kB / 0.5902 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1754, allocations: 59.73 kB / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.1779, allocations: 0.8767 MB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1782, allocations: 151.4 kB / 0.5913 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1782, allocations: 17.55 kB / 0.5913 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.1783, allocations: 51.78 kB / 0.5913 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1786, allocations: 172.8 kB / 0.5915 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1787, allocations: 16 kB / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.1806, allocations: 1.412 MB / 0.5929 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.1809, allocations: 279.8 kB / 0.5932 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.1813, allocations: 298.2 kB / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.1835, allocations: 1.551 MB / 0.595 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1835, allocations: 0 / 0.595 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1835, allocations: 4 kB / 0.595 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.1836, allocations: 0 / 0.595 GB, free: 9.496 MB / 0.4981 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.008925/0.1925, allocations: 1.273 MB / 0.5962 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1926, allocations: 12.03 kB / 0.5962 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.1926, allocations: 30.75 kB / 0.5963 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.193, allocations: 95.58 kB / 0.5963 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.1935, allocations: 413.9 kB / 0.5967 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1935, allocations: 4.375 kB / 0.5967 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.1935, allocations: 11.94 kB / 0.5968 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.194, allocations: 391.2 kB / 0.5971 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.194, allocations: 0 / 0.5971 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.194, allocations: 0 / 0.5971 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.194, allocations: 3.984 kB / 0.5971 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.1944, allocations: 443.7 kB / 0.5976 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.1951, allocations: 0.6574 MB / 0.5982 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.1956, allocations: 0.5633 MB / 0.5987 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1959, allocations: 345.6 kB / 0.5991 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.197, allocations: 1.025 MB / 0.6001 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.1974, allocations: 412.8 kB / 0.6005 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1974, allocations: 0 / 0.6005 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001435/0.1989, allocations: 1.293 MB / 0.6017 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.199, allocations: 81.11 kB / 0.6018 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.2003, allocations: 1.281 MB / 0.6031 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.2003, allocations: 29.83 kB / 0.6031 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.2006, allocations: 285.4 kB / 0.6034 GB, free: 424 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.2006, allocations: 23.7 kB / 0.6034 GB, free: 400 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.201, allocations: 347.5 kB / 0.6037 GB, free: 48 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2299/0.4309, allocations: 318 kB / 0.604 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.4321, allocations: 1.365 MB / 0.6053 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.4331, allocations: 1.495 MB / 0.6068 GB, free: 51.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005916/0.439, allocations: 3.538 MB / 0.6103 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.439, allocations: 3.75 kB / 0.6103 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003065/0.4421, allocations: 3.967 MB / 0.6141 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4421, allocations: 6.062 kB / 0.6141 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4421, allocations: 5.359 kB / 0.6142 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4422, allocations: 3.719 kB / 0.6142 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4423, allocations: 18.58 kB / 0.6142 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4423, allocations: 0 / 0.6142 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.4427, allocations: 228.9 kB / 0.6144 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.4428, allocations: 29.62 kB / 0.6144 GB, free: 47.96 MB / 0.4981 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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.00024/0.443, allocations: 242.1 kB / 0.6147 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.443, allocations: 76.72 kB / 0.6147 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4433, allocations: 79.09 kB / 0.6148 GB, free: 47.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4433, allocations: 2.875 kB / 0.6148 GB, free: 47.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4433, allocations: 6.594 kB / 0.6148 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4433, allocations: 3.188 kB / 0.6148 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.4437, allocations: 0.5131 MB / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4437, allocations: 0 / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.4437, allocations: 6.094 kB / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4437, allocations: 0 / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4438, allocations: 6.531 kB / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4438, allocations: 0.625 kB / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4438, allocations: 4.594 kB / 0.6153 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.4444, allocations: 1.008 MB / 0.6163 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.4445, allocations: 162.5 kB / 0.6165 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.4446, allocations: 2.719 kB / 0.6165 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.4447, allocations: 2.906 kB / 0.6165 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4448, allocations: 10.23 kB / 0.6165 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.4448, allocations: 22.45 kB / 0.6165 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005586/0.4454, allocations: 0.7157 MB / 0.6172 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4454, allocations: 2.531 kB / 0.6172 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008659/0.4463, allocations: 403.4 kB / 0.6176 GB, free: 46.88 MB / 0.4981 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.001759/0.448, allocations: 1.932 MB / 0.6195 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.4498, allocations: 2.499 MB / 0.6219 GB, free: 45.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4498, allocations: 0 / 0.6219 GB, free: 45.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.4501, allocations: 338.4 kB / 0.6222 GB, free: 45.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4505, allocations: 58.5 kB / 0.6223 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.4637, allocations: 15.01 MB / 0.637 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.4641, allocations: 0.9896 MB / 0.6379 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.4643, allocations: 38.19 kB / 0.638 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.4645, allocations: 285.6 kB / 0.6382 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.4646, allocations: 1.219 kB / 0.6382 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/0.6836, allocations: 19.55 MB / 0.6573 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.6839, allocations: 289.3 kB / 0.6576 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.241, allocations: 2.922 kB / 0.6576 GB, free: 35.69 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)