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.0009557/0.0009556, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000923/0.000923, allocations: 177.3 kB / 15.94 MB, free: 228 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.302/1.302, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8799/0.8799, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002786, allocations: 8 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 82.33 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001372/0.157, allocations: 1.111 MB / 0.5883 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1605, allocations: 2.565 MB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.1606, allocations: 0 / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1606, allocations: 0 / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.1607, allocations: 23.89 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.1639, allocations: 1.228 MB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.377e-05/0.1639, allocations: 35.94 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.164, allocations: 0 / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.164, allocations: 11.94 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.1641, allocations: 19.92 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1641, allocations: 3.984 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.1659, allocations: 1.186 MB / 0.5933 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.1659, allocations: 15.92 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1659, allocations: 33.7 kB / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.167, allocations: 0.7099 MB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.167, allocations: 0 / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.167, allocations: 0 / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.167, allocations: 0 / 0.594 GB, free: 12.07 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.0006329/0.1676, allocations: 0.5067 MB / 0.5945 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1677, allocations: 8.75 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1677, allocations: 83.19 kB / 0.5946 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1679, allocations: 258.1 kB / 0.5949 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.168, allocations: 158.5 kB / 0.595 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.168, allocations: 158.6 kB / 0.5952 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/0.1681, allocations: 105 kB / 0.5953 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1681, allocations: 75.28 kB / 0.5953 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.1682, allocations: 154.6 kB / 0.5955 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.1682, allocations: 150.6 kB / 0.5956 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.42e-05/0.1683, allocations: 150.6 kB / 0.5958 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.1686, allocations: 469.8 kB / 0.5962 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.1687, allocations: 169.1 kB / 0.5964 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1687, allocations: 75.28 kB / 0.5965 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.1687, allocations: 113.8 kB / 0.5966 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1688, allocations: 0 / 0.5966 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.035e-05/0.1688, allocations: 37.53 kB / 0.5966 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1689, allocations: 134.6 kB / 0.5967 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.169, allocations: 128.2 kB / 0.5969 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.169, allocations: 29.7 kB / 0.5969 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.1691, allocations: 96.08 kB / 0.597 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1691, allocations: 0 / 0.597 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.1691, allocations: 0 / 0.597 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1692, allocations: 322.8 kB / 0.5973 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.1693, allocations: 4 kB / 0.5973 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.1693, allocations: 8 kB / 0.5973 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.1693, allocations: 4 kB / 0.5973 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1693, allocations: 0 / 0.5973 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/0.1694, allocations: 57.62 kB / 0.5973 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1695, allocations: 4 kB / 0.5974 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.1695, allocations: 4 kB / 0.5974 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1695, allocations: 3.938 kB / 0.5974 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1695, allocations: 0 / 0.5974 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1695, allocations: 0 / 0.5974 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.1696, allocations: 3.938 kB / 0.5974 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1696, allocations: 4 kB / 0.5974 GB, free: 8.43 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.0001032/0.1697, allocations: 189.1 kB / 0.5975 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.1697, allocations: 112.9 kB / 0.5977 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.1698, allocations: 112.8 kB / 0.5978 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/0.1699, allocations: 176.3 kB / 0.5979 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.143e-05/0.1699, allocations: 180.3 kB / 0.5981 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.754e-05/0.17, allocations: 184.2 kB / 0.5983 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1702, allocations: 421.2 kB / 0.5987 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.863e-05/0.1703, allocations: 104.9 kB / 0.5988 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.1703, allocations: 101 kB / 0.5989 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-05/0.1704, allocations: 176.3 kB / 0.599 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.1704, allocations: 192.2 kB / 0.5992 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.753e-05/0.1705, allocations: 184.3 kB / 0.5994 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.036e-05/0.1706, allocations: 184.5 kB / 0.5996 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1707, allocations: 311.8 kB / 0.5999 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.1708, allocations: 194 kB / 0.6001 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.1709, allocations: 176.3 kB / 0.6002 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.171, allocations: 108.9 kB / 0.6003 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.171, allocations: 180.3 kB / 0.6005 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1711, allocations: 101 kB / 0.6006 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.956e-05/0.1711, allocations: 107.2 kB / 0.6007 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.292e-06/0.1711, allocations: 3.938 kB / 0.6007 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007146/0.1718, allocations: 279.7 kB / 0.601 GB, free: 4.504 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.0009569/0.1728, allocations: 0.4903 MB / 0.6015 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.1729, allocations: 49.69 kB / 0.6015 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1729, allocations: 0 / 0.6015 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.1729, allocations: 0 / 0.6015 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1732, allocations: 0.5313 MB / 0.602 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.1735, allocations: 259.8 kB / 0.6023 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1738, allocations: 0.6887 MB / 0.6029 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.468e-05/0.1738, allocations: 0 / 0.6029 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.1738, allocations: 7.438 kB / 0.6029 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1738, allocations: 4 kB / 0.603 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of Templates: time 0.2358/0.4096, allocations: 5.575 MB / 0.6084 GB, free: 48.35 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: