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.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001148/0.001148, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8619/0.8619, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 68.05 kB / 0.5048 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 80.93 MB / 0.5839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002605/0.145, allocations: 1.776 MB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.1504, allocations: 4.403 MB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.1505, allocations: 0 / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.1515, allocations: 358.6 kB / 0.5902 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.1516, allocations: 47.8 kB / 0.5903 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.1533, allocations: 0.7637 MB / 0.591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1535, allocations: 191.4 kB / 0.5912 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1535, allocations: 17.53 kB / 0.5912 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.1536, allocations: 51.73 kB / 0.5913 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1538, allocations: 172.8 kB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.1539, allocations: 16 kB / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.1555, allocations: 1.392 MB / 0.5928 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1557, allocations: 279.8 kB / 0.5931 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.156, allocations: 302.1 kB / 0.5934 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1575, allocations: 1.531 MB / 0.5949 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1575, allocations: 4 kB / 0.5949 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1575, allocations: 0 / 0.5949 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1575, allocations: 0 / 0.5949 GB, free: 9.523 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.007136/0.1646, allocations: 1.281 MB / 0.5961 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1647, allocations: 12.03 kB / 0.5961 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1647, allocations: 46.67 kB / 0.5962 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/0.1651, allocations: 91.59 kB / 0.5963 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.1655, allocations: 406 kB / 0.5966 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1655, allocations: 384 / 0.5966 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1655, allocations: 11.94 kB / 0.5967 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.1659, allocations: 387.2 kB / 0.597 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1659, allocations: 3.984 kB / 0.597 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.166, allocations: 7.984 kB / 0.597 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.166, allocations: 0 / 0.597 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.1663, allocations: 435.7 kB / 0.5974 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.1669, allocations: 0.6575 MB / 0.5981 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.1673, allocations: 0.5671 MB / 0.5986 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.1676, allocations: 333.7 kB / 0.599 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008905/0.1685, allocations: 1.036 MB / 0.6 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.1689, allocations: 400.9 kB / 0.6004 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1689, allocations: 0 / 0.6004 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001147/0.17, allocations: 1.304 MB / 0.6016 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1701, allocations: 89.09 kB / 0.6017 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.1711, allocations: 1.273 MB / 0.603 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1712, allocations: 29.64 kB / 0.603 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1714, allocations: 285.4 kB / 0.6033 GB, free: 444 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1714, allocations: 27.72 kB / 0.6033 GB, free: 416 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.1717, allocations: 351.5 kB / 0.6036 GB, free: 60 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2301/0.4018, allocations: 322.1 kB / 0.6039 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.4029, allocations: 1.358 MB / 0.6053 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009219/0.4038, allocations: 1.492 MB / 0.6067 GB, free: 51.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005791/0.4096, allocations: 3.538 MB / 0.6102 GB, free: 50.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4097, allocations: 3.75 kB / 0.6102 GB, free: 50.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002991/0.4127, allocations: 3.972 MB / 0.6141 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4127, allocations: 3.406 kB / 0.6141 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4127, allocations: 3.281 kB / 0.6141 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4127, allocations: 0 / 0.6141 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4129, allocations: 18.73 kB / 0.6141 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4129, allocations: 0.9062 kB / 0.6141 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.4133, allocations: 233.6 kB / 0.6143 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.4133, allocations: 21.62 kB / 0.6143 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.0002448/0.4136, allocations: 248.2 kB / 0.6146 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.4136, allocations: 79.7 kB / 0.6146 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4139, allocations: 78.89 kB / 0.6147 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4139, allocations: 0 / 0.6147 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4139, allocations: 4.656 kB / 0.6147 GB, free: 47.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4139, allocations: 3.031 kB / 0.6147 GB, free: 47.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.4143, allocations: 0.5115 MB / 0.6152 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4143, allocations: 3.312 kB / 0.6152 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.4143, allocations: 4.25 kB / 0.6152 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4143, allocations: 2.844 kB / 0.6152 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4144, allocations: 13.7 kB / 0.6152 GB, free: 47.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4144, allocations: 0 / 0.6152 GB, free: 47.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4144, allocations: 6.562 kB / 0.6152 GB, free: 47.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.4151, allocations: 0.9977 MB / 0.6162 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.4151, allocations: 159.4 kB / 0.6164 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.4152, allocations: 10.42 kB / 0.6164 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4154, allocations: 7.031 kB / 0.6164 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4154, allocations: 14.05 kB / 0.6164 GB, free: 47.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.4154, allocations: 12.94 kB / 0.6164 GB, free: 47.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005518/0.416, allocations: 0.7196 MB / 0.6171 GB, free: 46.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.82e-07/0.416, allocations: 0 / 0.6171 GB, free: 46.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008732/0.4169, allocations: 398.2 kB / 0.6175 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.001845/0.4187, allocations: 1.932 MB / 0.6194 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.4204, allocations: 2.494 MB / 0.6218 GB, free: 45.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4204, allocations: 0 / 0.6218 GB, free: 45.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.4207, allocations: 341.8 kB / 0.6221 GB, free: 45.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.421, allocations: 55.41 kB / 0.6222 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.4345, allocations: 15.01 MB / 0.6369 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4349, allocations: 0.989 MB / 0.6378 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.4351, allocations: 41.19 kB / 0.6379 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.4354, allocations: 281.7 kB / 0.6381 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.4354, allocations: 4 kB / 0.6381 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.473, allocations: 19.25 MB / 0.6569 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.4732, allocations: 287.9 kB / 0.6572 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.728, allocations: 2.75 kB / 0.6572 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)