Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.0009728/0.0009729, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009942/0.0009943, allocations: 172.7 kB / 15.95 MB, free: 192 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.3 MB / 426.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 8 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 82.32 MB / 0.5875 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001519/0.1862, allocations: 1.136 MB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1901, allocations: 2.638 MB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.1901, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.1902, allocations: 3.984 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.1902, allocations: 15.86 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.1933, allocations: 1.25 MB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.1934, allocations: 35.75 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.1935, allocations: 3.984 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.1935, allocations: 11.94 kB / 0.5925 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.031e-05/0.1935, allocations: 15.94 kB / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1935, allocations: 7.984 kB / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.1953, allocations: 1.24 MB / 0.5937 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.1953, allocations: 7.938 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1954, allocations: 37.7 kB / 0.5938 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.1962, allocations: 0.6982 MB / 0.5945 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1962, allocations: 3.938 kB / 0.5945 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1962, allocations: 0 / 0.5945 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1962, allocations: 0 / 0.5945 GB, free: 11.73 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005533/0.1968, allocations: 0.5106 MB / 0.595 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1968, allocations: 8.031 kB / 0.595 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.1969, allocations: 105.8 kB / 0.5951 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.197, allocations: 95.14 kB / 0.5952 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1971, allocations: 252.5 kB / 0.5954 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.1972, allocations: 154.6 kB / 0.5955 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.1973, allocations: 150.6 kB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.289e-05/0.1973, allocations: 101 kB / 0.5958 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.1974, allocations: 75.28 kB / 0.5959 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.1975, allocations: 158.5 kB / 0.596 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/0.1975, allocations: 154.6 kB / 0.5962 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.1976, allocations: 154.6 kB / 0.5963 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.1979, allocations: 465.9 kB / 0.5967 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.198, allocations: 169.1 kB / 0.5969 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.198, allocations: 84.14 kB / 0.597 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.198, allocations: 79.22 kB / 0.5971 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.1981, allocations: 105.8 kB / 0.5972 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1981, allocations: 7.938 kB / 0.5972 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.481e-05/0.1982, allocations: 33.59 kB / 0.5972 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.1983, allocations: 130.7 kB / 0.5973 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1984, allocations: 138 kB / 0.5975 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1984, allocations: 25.7 kB / 0.5975 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.1985, allocations: 84.14 kB / 0.5976 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.1985, allocations: 0 / 0.5976 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.1985, allocations: 0 / 0.5976 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1986, allocations: 326.8 kB / 0.5979 GB, free: 8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.1987, allocations: 4 kB / 0.5979 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.1987, allocations: 11.94 kB / 0.5979 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.1987, allocations: 8.031 kB / 0.5979 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1987, allocations: 0 / 0.5979 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.1989, allocations: 49.59 kB / 0.5979 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1989, allocations: 8 kB / 0.598 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.1989, allocations: 0 / 0.598 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1989, allocations: 4 kB / 0.598 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1989, allocations: 0 / 0.598 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1989, allocations: 0 / 0.598 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.199, allocations: 7.938 kB / 0.598 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.199, allocations: 0 / 0.598 GB, free: 7.902 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0001143/0.1991, allocations: 193.1 kB / 0.5982 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.1992, allocations: 108.8 kB / 0.5983 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.1992, allocations: 112.8 kB / 0.5984 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-05/0.1993, allocations: 176.3 kB / 0.5985 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.018e-05/0.1994, allocations: 188.2 kB / 0.5987 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/0.1995, allocations: 180.3 kB / 0.5989 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1997, allocations: 421.1 kB / 0.5993 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/0.1998, allocations: 105 kB / 0.5994 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.1998, allocations: 105 kB / 0.5995 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.1999, allocations: 180.2 kB / 0.5997 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.2, allocations: 176.3 kB / 0.5998 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.038e-05/0.2001, allocations: 196.5 kB / 0.6 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.649e-05/0.2001, allocations: 184.3 kB / 0.6002 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.2003, allocations: 311.6 kB / 0.6005 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.2004, allocations: 190 kB / 0.6007 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.2005, allocations: 188.1 kB / 0.6008 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.2006, allocations: 101 kB / 0.6009 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.2007, allocations: 184.2 kB / 0.6011 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.2007, allocations: 105 kB / 0.6012 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.2008, allocations: 101.1 kB / 0.6013 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2008, allocations: 0 / 0.6013 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007423/0.2015, allocations: 275.8 kB / 0.6016 GB, free: 3.977 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001264/0.2028, allocations: 1.144 MB / 0.6027 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.844e-05/0.2029, allocations: 37.7 kB / 0.6027 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2029, allocations: 3.938 kB / 0.6027 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.2029, allocations: 0 / 0.6027 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.2034, allocations: 0.5322 MB / 0.6033 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/0.2043, allocations: 0.6949 MB / 0.6039 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.2046, allocations: 0.6887 MB / 0.6046 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.537e-05/0.2046, allocations: 4 kB / 0.6046 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.2046, allocations: 11.5 kB / 0.6046 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2046, allocations: 0 / 0.6046 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3205/0.5252, allocations: 6.822 MB / 0.6113 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.5253, allocations: 258.3 kB / 0.6115 GB, free: 47.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.571, allocations: 2.5 kB / 0.6115 GB, free: 47.49 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: