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_100boreholes.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_100boreholes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.000862/0.0008619, allocations: 91.84 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.005007/0.005007, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.328/1.328, 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.8734/0.8734, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8.812 kB / 0.5077 GB, free: 4.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 82.31 MB / 0.5881 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00133/0.1446, allocations: 1.128 MB / 0.5892 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004448/0.1491, allocations: 3.148 MB / 0.5923 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.1491, allocations: 0 / 0.5923 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.31e-05/0.1492, allocations: 7.938 kB / 0.5923 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1495, allocations: 35.83 kB / 0.5923 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1513, allocations: 0.7606 MB / 0.5931 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.1515, allocations: 115.6 kB / 0.5932 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.1515, allocations: 0 / 0.5932 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.1516, allocations: 43.8 kB / 0.5932 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.1519, allocations: 224.9 kB / 0.5934 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1519, allocations: 19.94 kB / 0.5935 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1536, allocations: 1.392 MB / 0.5948 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.1542, allocations: 0.6797 MB / 0.5955 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.1545, allocations: 466.7 kB / 0.5959 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.1562, allocations: 1.772 MB / 0.5977 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1562, allocations: 3.938 kB / 0.5977 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1562, allocations: 0 / 0.5977 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1562, allocations: 4 kB / 0.5977 GB, free: 8.637 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.01009/0.1663, allocations: 1.586 MB / 0.5992 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1664, allocations: 11.97 kB / 0.5992 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.1664, allocations: 34.75 kB / 0.5993 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.1668, allocations: 138.9 kB / 0.5994 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.1672, allocations: 0.5289 MB / 0.5999 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1673, allocations: 4.375 kB / 0.5999 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.1673, allocations: 19.92 kB / 0.5999 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.1677, allocations: 383.2 kB / 0.6003 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1677, allocations: 4 kB / 0.6003 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1677, allocations: 0 / 0.6003 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1677, allocations: 0 / 0.6003 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.1682, allocations: 439.7 kB / 0.6007 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.1688, allocations: 0.8034 MB / 0.6015 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.1693, allocations: 0.5633 MB / 0.6021 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1696, allocations: 341.7 kB / 0.6024 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/0.1705, allocations: 1.036 MB / 0.6034 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.1709, allocations: 400.9 kB / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1709, allocations: 0 / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001221/0.1721, allocations: 1.347 MB / 0.6051 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1722, allocations: 77.11 kB / 0.6052 GB, free: 464 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2331/0.4053, allocations: 1.847 MB / 0.607 GB, free: 48.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.4054, allocations: 25.7 kB / 0.607 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.4057, allocations: 482.4 kB / 0.6075 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.4057, allocations: 24.16 kB / 0.6075 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.4059, allocations: 289.1 kB / 0.6078 GB, free: 48.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.406, allocations: 305 kB / 0.608 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.407, allocations: 1.511 MB / 0.6095 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4081, allocations: 1.648 MB / 0.6111 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006212/0.4144, allocations: 3.688 MB / 0.6147 GB, free: 46.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4144, allocations: 6.984 kB / 0.6147 GB, free: 46.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003319/0.4177, allocations: 4.316 MB / 0.619 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4177, allocations: 5.812 kB / 0.619 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4178, allocations: 3.531 kB / 0.619 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4178, allocations: 0 / 0.619 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4179, allocations: 18.19 kB / 0.619 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4179, allocations: 1.312 kB / 0.619 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.4184, allocations: 234.9 kB / 0.6192 GB, free: 44.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.4185, allocations: 22.89 kB / 0.6192 GB, free: 44.55 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.0003472/0.4188, allocations: 369 kB / 0.6196 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.4189, allocations: 120.1 kB / 0.6197 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.4192, allocations: 149.8 kB / 0.6198 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4192, allocations: 0.75 kB / 0.6198 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4192, allocations: 0 / 0.6198 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4192, allocations: 8.172 kB / 0.6198 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.4197, allocations: 0.675 MB / 0.6205 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4197, allocations: 3.844 kB / 0.6205 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.4198, allocations: 8.859 kB / 0.6205 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4198, allocations: 3.75 kB / 0.6205 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4198, allocations: 11.06 kB / 0.6205 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4198, allocations: 0 / 0.6205 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4198, allocations: 3.312 kB / 0.6205 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.4206, allocations: 1.053 MB / 0.6216 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4207, allocations: 203 kB / 0.6218 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.4208, allocations: 10.11 kB / 0.6218 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.421, allocations: 2.938 kB / 0.6218 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.421, allocations: 14.75 kB / 0.6218 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.4211, allocations: 9.016 kB / 0.6218 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001102/0.4222, allocations: 1.111 MB / 0.6229 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.084e-06/0.4222, allocations: 0 / 0.6229 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001099/0.4233, allocations: 432 kB / 0.6233 GB, free: 43.22 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.002064/0.4254, allocations: 1.977 MB / 0.6252 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.4273, allocations: 2.653 MB / 0.6278 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4273, allocations: 0 / 0.6278 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.4276, allocations: 340.1 kB / 0.6281 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.428, allocations: 50.5 kB / 0.6282 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3282/0.7562, allocations: 36.61 MB / 0.6639 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.7569, allocations: 1.152 MB / 0.6651 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.7571, allocations: 38.62 kB / 0.6651 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.7574, allocations: 431.6 kB / 0.6655 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.7574, allocations: 0 / 0.6655 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5014/1.259, allocations: 59.16 MB / 0.7233 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/1.259, allocations: 276.6 kB / 0.7235 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.757, allocations: 7.328 kB / 0.7235 GB, free: 2.871 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)