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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001151/0.001151, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001408/0.001408, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9092/0.9092, allocations: 135.3 MB / 426.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 12.22 kB / 0.5071 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 82.31 MB / 0.5875 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001326/0.1605, allocations: 1.105 MB / 0.5886 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.1644, allocations: 2.807 MB / 0.5913 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.1645, allocations: 7.938 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.1645, allocations: 7.938 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1647, allocations: 35.83 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1665, allocations: 0.7413 MB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1666, allocations: 95.7 kB / 0.5922 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1667, allocations: 8 kB / 0.5922 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.1668, allocations: 39.86 kB / 0.5922 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.167, allocations: 167.7 kB / 0.5924 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.167, allocations: 12 kB / 0.5924 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.1687, allocations: 1.306 MB / 0.5937 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.1689, allocations: 251.3 kB / 0.5939 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.169, allocations: 113.2 kB / 0.594 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1701, allocations: 0.9785 MB / 0.595 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1701, allocations: 0 / 0.595 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1701, allocations: 0 / 0.595 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1701, allocations: 0 / 0.595 GB, free: 11.27 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.006851/0.177, allocations: 1.163 MB / 0.5961 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.177, allocations: 12.03 kB / 0.5961 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1771, allocations: 34.56 kB / 0.5962 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.1774, allocations: 86.75 kB / 0.5963 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1778, allocations: 359.5 kB / 0.5966 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.1778, allocations: 8 kB / 0.5966 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1778, allocations: 7.984 kB / 0.5966 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.1782, allocations: 391.2 kB / 0.597 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1783, allocations: 0 / 0.597 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1783, allocations: 0 / 0.597 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1783, allocations: 4 kB / 0.597 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.1787, allocations: 435.7 kB / 0.5974 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.1792, allocations: 0.6402 MB / 0.598 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.1797, allocations: 0.5595 MB / 0.5986 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.18, allocations: 337.6 kB / 0.5989 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/0.1809, allocations: 1.04 MB / 0.5999 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.1813, allocations: 396.9 kB / 0.6003 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1813, allocations: 0 / 0.6003 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001203/0.1825, allocations: 1.293 MB / 0.6016 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.1826, allocations: 81.11 kB / 0.6016 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.1837, allocations: 1.19 MB / 0.6028 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1837, allocations: 37.69 kB / 0.6028 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1839, allocations: 257.4 kB / 0.6031 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1839, allocations: 23.7 kB / 0.6031 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.184, allocations: 3.938 kB / 0.6031 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1841, allocations: 427.9 kB / 0.6035 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.1853, allocations: 1.354 MB / 0.6048 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2942/0.4795, allocations: 1.494 MB / 0.6063 GB, free: 48.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.4808, allocations: 1.893 MB / 0.6081 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4808, allocations: 0 / 0.6081 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003457/0.4843, allocations: 3.937 MB / 0.612 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4843, allocations: 5.969 kB / 0.612 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4843, allocations: 6.812 kB / 0.612 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4843, allocations: 0.6562 kB / 0.612 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4845, allocations: 17.39 kB / 0.612 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4845, allocations: 2.906 kB / 0.612 GB, free: 47.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.4849, allocations: 233.6 kB / 0.6122 GB, free: 47.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.485, allocations: 23.88 kB / 0.6123 GB, free: 47.07 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.4853, allocations: 234.9 kB / 0.6125 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.4853, allocations: 68.78 kB / 0.6126 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.4856, allocations: 75.8 kB / 0.6126 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4856, allocations: 4.734 kB / 0.6126 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4856, allocations: 0 / 0.6126 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4856, allocations: 1.062 kB / 0.6126 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.486, allocations: 0.4906 MB / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.486, allocations: 1.641 kB / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.4861, allocations: 17.17 kB / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4861, allocations: 0 / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4861, allocations: 9.672 kB / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4861, allocations: 0 / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4861, allocations: 3.562 kB / 0.6131 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.4869, allocations: 1.001 MB / 0.6141 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.487, allocations: 152.9 kB / 0.6143 GB, free: 46.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.4871, allocations: 7.172 kB / 0.6143 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4872, allocations: 4.844 kB / 0.6143 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.4873, allocations: 6.562 kB / 0.6143 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.4873, allocations: 22.34 kB / 0.6143 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005872/0.4879, allocations: 0.6597 MB / 0.6149 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4879, allocations: 0 / 0.6149 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009982/0.4889, allocations: 393.7 kB / 0.6153 GB, free: 46.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/0.4909, allocations: 1.913 MB / 0.6172 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.4927, allocations: 2.496 MB / 0.6196 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4927, allocations: 0 / 0.6196 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.493, allocations: 344.7 kB / 0.62 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4933, allocations: 39.48 kB / 0.62 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/0.5018, allocations: 9.573 MB / 0.6293 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5022, allocations: 0.965 MB / 0.6303 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.5024, allocations: 36.53 kB / 0.6303 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.5027, allocations: 262.5 kB / 0.6306 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5027, allocations: 1.156 kB / 0.6306 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.5444, allocations: 18.6 MB / 0.6487 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.5446, allocations: 260.9 kB / 0.649 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.784, allocations: 0 / 0.649 GB, free: 38.45 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: