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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.77 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.001225/0.001225, 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.532/1.532, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.034/1.034, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006443/0.0006446, allocations: 12.22 kB / 0.507 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2074, allocations: 82.32 MB / 0.5874 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001817/0.2093, allocations: 1.129 MB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004415/0.2137, allocations: 2.645 MB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.2138, allocations: 0 / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.2138, allocations: 3.938 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.2139, allocations: 15.86 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.2176, allocations: 1.246 MB / 0.5924 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.2177, allocations: 43.67 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.2178, allocations: 3.984 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.2178, allocations: 11.94 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.2178, allocations: 19.86 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2179, allocations: 8 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.2201, allocations: 1.244 MB / 0.5937 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.2201, allocations: 4 kB / 0.5937 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.2202, allocations: 33.64 kB / 0.5937 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.2215, allocations: 0.7021 MB / 0.5944 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.2216, allocations: 0 / 0.5944 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.823e-06/0.2216, allocations: 0 / 0.5944 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2216, allocations: 3.938 kB / 0.5944 GB, free: 11.8 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.0009196/0.2225, allocations: 0.5068 MB / 0.5949 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2226, allocations: 12.73 kB / 0.5949 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.2226, allocations: 79.19 kB / 0.595 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.2228, allocations: 254.2 kB / 0.5952 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/0.2229, allocations: 154.5 kB / 0.5954 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.223, allocations: 150.6 kB / 0.5955 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.318e-05/0.2231, allocations: 101 kB / 0.5956 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.2232, allocations: 87.22 kB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.2232, allocations: 150.6 kB / 0.5958 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.2233, allocations: 150.6 kB / 0.596 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.2234, allocations: 158.6 kB / 0.5961 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.2238, allocations: 473.8 kB / 0.5966 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2239, allocations: 169.1 kB / 0.5967 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.2239, allocations: 80.14 kB / 0.5968 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.224, allocations: 75.28 kB / 0.5969 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.224, allocations: 105.8 kB / 0.597 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.224, allocations: 0 / 0.597 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001077/0.2242, allocations: 45.55 kB / 0.597 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.2242, allocations: 126.7 kB / 0.5971 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2244, allocations: 128.5 kB / 0.5973 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2245, allocations: 33.64 kB / 0.5973 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2245, allocations: 92.12 kB / 0.5974 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.2245, allocations: 0 / 0.5974 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2245, allocations: 0 / 0.5974 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2247, allocations: 322.8 kB / 0.5977 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.2247, allocations: 8 kB / 0.5977 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/0.2247, allocations: 0 / 0.5977 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.2248, allocations: 15.98 kB / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2248, allocations: 0 / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001525/0.2249, allocations: 49.55 kB / 0.5978 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.225, allocations: 8 kB / 0.5978 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.225, allocations: 0 / 0.5978 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.225, allocations: 0 / 0.5978 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.225, allocations: 4 kB / 0.5978 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.225, allocations: 0 / 0.5978 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.2251, allocations: 8 kB / 0.5978 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2251, allocations: 0 / 0.5978 GB, free: 8.09 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.0001102/0.2252, allocations: 193.1 kB / 0.598 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.2253, allocations: 108.9 kB / 0.5981 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.2253, allocations: 112.8 kB / 0.5982 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-05/0.2254, allocations: 176.3 kB / 0.5983 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.2255, allocations: 184.2 kB / 0.5985 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.2256, allocations: 184.2 kB / 0.5987 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.2258, allocations: 421.1 kB / 0.5991 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/0.2259, allocations: 108.9 kB / 0.5992 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.2259, allocations: 101 kB / 0.5993 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-05/0.226, allocations: 188.3 kB / 0.5995 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.2261, allocations: 180.2 kB / 0.5996 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.648e-05/0.2262, allocations: 184.3 kB / 0.5998 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.879e-05/0.2262, allocations: 180.2 kB / 0.6 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.2264, allocations: 307.7 kB / 0.6003 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.2264, allocations: 194 kB / 0.6005 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.2265, allocations: 176.3 kB / 0.6006 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.2266, allocations: 113.2 kB / 0.6007 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.2267, allocations: 180.2 kB / 0.6009 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.2267, allocations: 105 kB / 0.601 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.285e-05/0.2268, allocations: 103.2 kB / 0.6011 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2268, allocations: 4 kB / 0.6011 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009053/0.2277, allocations: 275.8 kB / 0.6014 GB, free: 4.164 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.00122/0.229, allocations: 0.4903 MB / 0.6019 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.2291, allocations: 41.64 kB / 0.6019 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2291, allocations: 0 / 0.6019 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-06/0.2291, allocations: 4 kB / 0.6019 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.2295, allocations: 0.5295 MB / 0.6024 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.2299, allocations: 263.7 kB / 0.6027 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.2302, allocations: 0.6848 MB / 0.6033 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.2302, allocations: 0 / 0.6033 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.2302, allocations: 11.44 kB / 0.6034 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.2303, allocations: 0 / 0.6034 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.3177/0.548, allocations: 5.591 MB / 0.6088 GB, free: 48.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)