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.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9801/0.9801, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.52 kB / 0.5054 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1876, allocations: 80.93 MB / 0.5844 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003381/0.191, allocations: 1.42 MB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00481/0.1958, allocations: 2.866 MB / 0.5886 GB, free: 184 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.1959, allocations: 0 / 0.5886 GB, free: 184 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.196, allocations: 7.922 kB / 0.5886 GB, free: 176 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.1961, allocations: 11.88 kB / 0.5886 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.2002, allocations: 1.575 MB / 0.5902 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.2003, allocations: 47.69 kB / 0.5902 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.2004, allocations: 8.266 kB / 0.5902 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.2004, allocations: 11.94 kB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.2004, allocations: 7.938 kB / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.2004, allocations: 4 kB / 0.5903 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.2025, allocations: 1.462 MB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.2026, allocations: 3.938 kB / 0.5917 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2026, allocations: 19.88 kB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.204, allocations: 1.095 MB / 0.5928 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.204, allocations: 8 kB / 0.5928 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.204, allocations: 0 / 0.5928 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.204, allocations: 0 / 0.5928 GB, free: 11.94 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.0005862/0.2046, allocations: 0.5223 MB / 0.5933 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2047, allocations: 12.75 kB / 0.5933 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.2047, allocations: 80.12 kB / 0.5934 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2049, allocations: 247.6 kB / 0.5936 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.205, allocations: 154.9 kB / 0.5938 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.205, allocations: 162.4 kB / 0.5939 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.2051, allocations: 105 kB / 0.594 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.2051, allocations: 75.28 kB / 0.5941 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.2052, allocations: 154.5 kB / 0.5942 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.2053, allocations: 150.6 kB / 0.5944 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.2054, allocations: 154.6 kB / 0.5945 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.2057, allocations: 461.9 kB / 0.595 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.2058, allocations: 177.1 kB / 0.5951 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.2058, allocations: 80.14 kB / 0.5952 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2058, allocations: 83.22 kB / 0.5953 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.2059, allocations: 109.9 kB / 0.5954 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.505e-06/0.2059, allocations: 0 / 0.5954 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.782e-05/0.206, allocations: 41.53 kB / 0.5954 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.2061, allocations: 126.7 kB / 0.5956 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2062, allocations: 135.5 kB / 0.5957 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2062, allocations: 25.7 kB / 0.5957 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.2063, allocations: 96.14 kB / 0.5958 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.2063, allocations: 0 / 0.5958 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.2064, allocations: 17.7 kB / 0.5958 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2065, allocations: 318.8 kB / 0.5961 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.2065, allocations: 4 kB / 0.5961 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.2065, allocations: 19.92 kB / 0.5962 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.2066, allocations: 8.859 kB / 0.5962 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2066, allocations: 3.938 kB / 0.5962 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001369/0.2067, allocations: 49.61 kB / 0.5962 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2068, allocations: 8.062 kB / 0.5962 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.2068, allocations: 4 kB / 0.5962 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2068, allocations: 0 / 0.5962 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.2068, allocations: 0 / 0.5962 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2068, allocations: 3.984 kB / 0.5962 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.2068, allocations: 0 / 0.5962 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.2069, allocations: 8 kB / 0.5962 GB, free: 8.168 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.207, allocations: 185.1 kB / 0.5964 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2071, allocations: 116.8 kB / 0.5965 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.2072, allocations: 104.9 kB / 0.5966 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/0.2072, allocations: 192.2 kB / 0.5968 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001222/0.2074, allocations: 180.3 kB / 0.597 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.671e-05/0.2074, allocations: 176.3 kB / 0.5971 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2077, allocations: 421.1 kB / 0.5975 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/0.2077, allocations: 101 kB / 0.5976 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.2078, allocations: 108.9 kB / 0.5977 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/0.2078, allocations: 184.3 kB / 0.5979 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.2079, allocations: 180.2 kB / 0.5981 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-05/0.208, allocations: 180.2 kB / 0.5983 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-05/0.2081, allocations: 180.3 kB / 0.5984 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2082, allocations: 323.6 kB / 0.5987 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.2083, allocations: 182 kB / 0.5989 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.2084, allocations: 184.3 kB / 0.5991 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.2085, allocations: 108.9 kB / 0.5992 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.2086, allocations: 184.2 kB / 0.5994 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.2086, allocations: 105 kB / 0.5995 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.701e-05/0.2087, allocations: 105 kB / 0.5996 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2087, allocations: 0 / 0.5996 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007045/0.2094, allocations: 279.8 kB / 0.5998 GB, free: 4.242 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 (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.001011/0.2104, allocations: 0.5306 MB / 0.6004 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2105, allocations: 45.62 kB / 0.6004 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2105, allocations: 0 / 0.6004 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.2105, allocations: 3.938 kB / 0.6004 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.211, allocations: 473 kB / 0.6009 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.2113, allocations: 232 kB / 0.6011 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.2116, allocations: 0.6885 MB / 0.6018 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.2116, allocations: 0 / 0.6018 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.2116, allocations: 7.438 kB / 0.6018 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2116, allocations: 0 / 0.6018 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of Templates: time 0.2858/0.4974, allocations: 5.621 MB / 0.6072 GB, free: 51.68 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)