Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001208/0.001208, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001386/0.001386, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7685/0.7685, allocations: 132.2 MB / 422.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.72 kB / 0.5014 GB, free: 8.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1523, allocations: 80.21 MB / 0.5797 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002878/0.1552, allocations: 1.783 MB / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.1604, allocations: 4.204 MB / 0.5856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1605, allocations: 0 / 0.5856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1616, allocations: 362.6 kB / 0.5859 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.1617, allocations: 55.73 kB / 0.586 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1637, allocations: 0.8807 MB / 0.5868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1639, allocations: 143.4 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.164, allocations: 17.55 kB / 0.587 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.1641, allocations: 55.72 kB / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.1643, allocations: 172.8 kB / 0.5872 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.1643, allocations: 16 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.166, allocations: 1.412 MB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.1662, allocations: 271.8 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1664, allocations: 306.1 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.1679, allocations: 1.551 MB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1679, allocations: 0 / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1679, allocations: 0 / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.168, allocations: 0 / 0.5907 GB, free: 13.71 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.00837/0.1763, allocations: 1.273 MB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1764, allocations: 12.03 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1764, allocations: 42.67 kB / 0.592 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.1768, allocations: 95.59 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.1772, allocations: 406 kB / 0.5924 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1772, allocations: 4.375 kB / 0.5924 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1773, allocations: 11.94 kB / 0.5924 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.1777, allocations: 387.2 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1777, allocations: 0 / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1777, allocations: 0 / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1777, allocations: 4 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.1781, allocations: 435.7 kB / 0.5932 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.1787, allocations: 0.6652 MB / 0.5939 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.1791, allocations: 0.5711 MB / 0.5944 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.1794, allocations: 333.6 kB / 0.5948 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009683/0.1804, allocations: 1.025 MB / 0.5958 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/0.1808, allocations: 400.9 kB / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1808, allocations: 0 / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001186/0.182, allocations: 1.296 MB / 0.5974 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.182, allocations: 81.11 kB / 0.5975 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1831, allocations: 1.289 MB / 0.5987 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.1832, allocations: 29.69 kB / 0.5988 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1834, allocations: 289.4 kB / 0.5991 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1834, allocations: 15.72 kB / 0.5991 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.1837, allocations: 347.5 kB / 0.5994 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1838, allocations: 322 kB / 0.5997 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.1849, allocations: 1.365 MB / 0.601 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.1861, allocations: 1.493 MB / 0.6025 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2356/0.4217, allocations: 3.54 MB / 0.606 GB, free: 54.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.4217, allocations: 3.75 kB / 0.606 GB, free: 54.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003363/0.4251, allocations: 3.967 MB / 0.6098 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4251, allocations: 6.531 kB / 0.6098 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4251, allocations: 3.25 kB / 0.6098 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4252, allocations: 1.094 kB / 0.6098 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4253, allocations: 17.77 kB / 0.6099 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4253, allocations: 3.828 kB / 0.6099 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.4257, allocations: 228.7 kB / 0.6101 GB, free: 52.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.4258, allocations: 25.03 kB / 0.6101 GB, free: 52.98 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.0002681/0.426, allocations: 246.8 kB / 0.6103 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4261, allocations: 72.88 kB / 0.6104 GB, free: 52.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4264, allocations: 83.42 kB / 0.6105 GB, free: 52.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4264, allocations: 3.375 kB / 0.6105 GB, free: 52.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4264, allocations: 0 / 0.6105 GB, free: 52.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4264, allocations: 0.6562 kB / 0.6105 GB, free: 52.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.4268, allocations: 0.5176 MB / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4268, allocations: 5.188 kB / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.4269, allocations: 8.984 kB / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4269, allocations: 0 / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4269, allocations: 5.109 kB / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4269, allocations: 1.625 kB / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4269, allocations: 3.844 kB / 0.611 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.4276, allocations: 1.007 MB / 0.612 GB, free: 52.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.4277, allocations: 164.5 kB / 0.6122 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.4278, allocations: 2.812 kB / 0.6122 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4279, allocations: 2.562 kB / 0.6122 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.428, allocations: 13.31 kB / 0.6122 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.428, allocations: 14.81 kB / 0.6122 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005849/0.4286, allocations: 0.7188 MB / 0.6129 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4286, allocations: 0 / 0.6129 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009069/0.4295, allocations: 407.3 kB / 0.6133 GB, free: 51.9 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.001797/0.4314, allocations: 1.932 MB / 0.6152 GB, free: 51.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.433, allocations: 2.496 MB / 0.6176 GB, free: 50.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.433, allocations: 3.312 kB / 0.6176 GB, free: 50.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.4332, allocations: 337.5 kB / 0.6179 GB, free: 50.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4336, allocations: 56.2 kB / 0.618 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.4453, allocations: 15.02 MB / 0.6326 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4457, allocations: 0.9863 MB / 0.6336 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.4459, allocations: 40.83 kB / 0.6337 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.4461, allocations: 288.1 kB / 0.6339 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.4461, allocations: 0 / 0.6339 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.4918, allocations: 19.54 MB / 0.653 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.492, allocations: 293.6 kB / 0.6533 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.856, allocations: 1.312 kB / 0.6533 GB, free: 40.71 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)