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.0008952/0.0008953, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005431/0.005431, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 16 kB / 0.5077 GB, free: 4.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 82.3 MB / 0.5881 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002012/0.1701, allocations: 1.447 MB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.1766, allocations: 4.308 MB / 0.5937 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1768, allocations: 3.938 kB / 0.5937 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.1781, allocations: 350.7 kB / 0.5941 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1783, allocations: 55.73 kB / 0.5941 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1806, allocations: 0.7715 MB / 0.5949 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1809, allocations: 191.3 kB / 0.5951 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.181, allocations: 9.547 kB / 0.5951 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.1811, allocations: 55.78 kB / 0.5951 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.1814, allocations: 176.8 kB / 0.5953 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.1814, allocations: 16 kB / 0.5953 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.1837, allocations: 1.388 MB / 0.5967 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.1839, allocations: 279.8 kB / 0.5969 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.1843, allocations: 327.8 kB / 0.5972 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.1873, allocations: 1.535 MB / 0.5987 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1873, allocations: 0 / 0.5987 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1873, allocations: 0 / 0.5987 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.1873, allocations: 4 kB / 0.5987 GB, free: 7.531 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.01077/0.1981, allocations: 1.218 MB / 0.5999 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1981, allocations: 8.031 kB / 0.5999 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.1982, allocations: 34.73 kB / 0.6 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.1986, allocations: 91.59 kB / 0.6001 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.1991, allocations: 409.9 kB / 0.6005 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1991, allocations: 12.36 kB / 0.6005 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.1992, allocations: 11.92 kB / 0.6005 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.1996, allocations: 383.2 kB / 0.6008 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1996, allocations: 0 / 0.6008 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1996, allocations: 3.984 kB / 0.6008 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1996, allocations: 4 kB / 0.6008 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.2001, allocations: 435.7 kB / 0.6013 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.2007, allocations: 0.6574 MB / 0.6019 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.2013, allocations: 0.5672 MB / 0.6025 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.2016, allocations: 341.7 kB / 0.6028 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.2026, allocations: 1.032 MB / 0.6038 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.203, allocations: 412.9 kB / 0.6042 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.2031, allocations: 0 / 0.6042 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001311/0.2044, allocations: 1.296 MB / 0.6055 GB, free: 220 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.2044, allocations: 81.11 kB / 0.6055 GB, free: 120 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3081/0.5125, allocations: 1.28 MB / 0.6068 GB, free: 49.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.387e-05/0.5126, allocations: 31.95 kB / 0.6068 GB, free: 49.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.5129, allocations: 279.7 kB / 0.6071 GB, free: 49.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.513, allocations: 22.41 kB / 0.6071 GB, free: 49.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.5132, allocations: 296.1 kB / 0.6074 GB, free: 49.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.5133, allocations: 315.9 kB / 0.6077 GB, free: 48.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.5144, allocations: 1.363 MB / 0.609 GB, free: 48.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5158, allocations: 1.494 MB / 0.6105 GB, free: 48.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006487/0.5223, allocations: 3.54 MB / 0.6139 GB, free: 47.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5223, allocations: 5.156 kB / 0.6139 GB, free: 47.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003407/0.5257, allocations: 3.965 MB / 0.6178 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.5257, allocations: 9.172 kB / 0.6178 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5258, allocations: 3.062 kB / 0.6178 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5258, allocations: 3.406 kB / 0.6178 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.5259, allocations: 18.98 kB / 0.6178 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5259, allocations: 3.344 kB / 0.6178 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.5264, allocations: 226.2 kB / 0.6181 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.5265, allocations: 30.2 kB / 0.6181 GB, free: 45.33 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.0002701/0.5268, allocations: 245.1 kB / 0.6183 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.5268, allocations: 72.47 kB / 0.6184 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.5271, allocations: 89.11 kB / 0.6185 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5271, allocations: 0 / 0.6185 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5271, allocations: 0 / 0.6185 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5271, allocations: 3.156 kB / 0.6185 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.5275, allocations: 0.5101 MB / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5275, allocations: 2.844 kB / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.5276, allocations: 2.688 kB / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5276, allocations: 2.781 kB / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5276, allocations: 13.28 kB / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5276, allocations: 0 / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5276, allocations: 0 / 0.619 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/0.5284, allocations: 1.014 MB / 0.62 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.5285, allocations: 157.7 kB / 0.6201 GB, free: 44.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.5286, allocations: 11.52 kB / 0.6201 GB, free: 44.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.5287, allocations: 2.75 kB / 0.6202 GB, free: 44.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.5288, allocations: 10.08 kB / 0.6202 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.5288, allocations: 15.8 kB / 0.6202 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006429/0.5295, allocations: 0.7134 MB / 0.6209 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.933e-06/0.5295, allocations: 6.125 kB / 0.6209 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001017/0.5305, allocations: 399.9 kB / 0.6213 GB, free: 44.25 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.001949/0.5324, allocations: 1.937 MB / 0.6232 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.5342, allocations: 2.492 MB / 0.6256 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5342, allocations: 0 / 0.6256 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.5345, allocations: 345.9 kB / 0.6259 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.5349, allocations: 54.14 kB / 0.626 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.5493, allocations: 15.02 MB / 0.6406 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.5498, allocations: 0.99 MB / 0.6416 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.55, allocations: 37.73 kB / 0.6416 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.5502, allocations: 289.5 kB / 0.6419 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.5503, allocations: 0 / 0.6419 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/0.7983, allocations: 19.1 MB / 0.6606 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.7985, allocations: 288.2 kB / 0.6608 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.189, allocations: 1.094 kB / 0.6608 GB, free: 32.89 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)