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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001509/0.001509, allocations: 190.4 kB / 16.25 MB, free: 6.637 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.912/0.912, allocations: 135.6 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 69.02 kB / 0.5054 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 81.01 MB / 0.5846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002667/0.1569, allocations: 1.488 MB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.1611, allocations: 2.822 MB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.1611, allocations: 3.938 kB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.1612, allocations: 7.984 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.1613, allocations: 11.86 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.1647, allocations: 1.42 MB / 0.5902 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.057e-05/0.1648, allocations: 47.67 kB / 0.5902 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.1648, allocations: 4.266 kB / 0.5902 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.1649, allocations: 15.94 kB / 0.5902 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.1649, allocations: 23.91 kB / 0.5903 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.1649, allocations: 0 / 0.5903 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.1668, allocations: 1.42 MB / 0.5916 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1668, allocations: 3.938 kB / 0.5917 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1669, allocations: 15.94 kB / 0.5917 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1682, allocations: 1.06 MB / 0.5927 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1682, allocations: 0 / 0.5927 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1682, allocations: 0 / 0.5927 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.1682, allocations: 4 kB / 0.5927 GB, free: 11.89 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.0006044/0.1688, allocations: 0.5107 MB / 0.5932 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1689, allocations: 8.75 kB / 0.5932 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.1689, allocations: 84.12 kB / 0.5933 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1691, allocations: 255.5 kB / 0.5935 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.1692, allocations: 150.9 kB / 0.5937 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.1693, allocations: 154.5 kB / 0.5938 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.1693, allocations: 109 kB / 0.5939 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.1694, allocations: 75.28 kB / 0.594 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.1694, allocations: 158.5 kB / 0.5942 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/0.1695, allocations: 154.5 kB / 0.5943 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.1696, allocations: 150.6 kB / 0.5944 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.1699, allocations: 465.9 kB / 0.5949 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.17, allocations: 173.1 kB / 0.5951 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.1701, allocations: 80.14 kB / 0.5951 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1701, allocations: 75.28 kB / 0.5952 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/0.1702, allocations: 113.8 kB / 0.5953 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1702, allocations: 0 / 0.5953 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.843e-05/0.1702, allocations: 33.61 kB / 0.5953 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.1703, allocations: 126.7 kB / 0.5955 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1704, allocations: 131.9 kB / 0.5956 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1705, allocations: 29.69 kB / 0.5956 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.1705, allocations: 88.14 kB / 0.5957 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-06/0.1706, allocations: 3.984 kB / 0.5957 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1706, allocations: 21.72 kB / 0.5957 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1707, allocations: 318.8 kB / 0.596 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.1708, allocations: 4 kB / 0.596 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.1708, allocations: 4 kB / 0.596 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.1708, allocations: 16.8 kB / 0.5961 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1708, allocations: 3.938 kB / 0.5961 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001248/0.171, allocations: 53.62 kB / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.171, allocations: 4 kB / 0.5961 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.171, allocations: 4 kB / 0.5961 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.171, allocations: 4.062 kB / 0.5961 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-06/0.171, allocations: 4 kB / 0.5961 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1711, allocations: 3.938 kB / 0.5961 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.1711, allocations: 0 / 0.5961 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1711, allocations: 4 kB / 0.5961 GB, free: 8.141 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.0001116/0.1712, allocations: 189 kB / 0.5963 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.1713, allocations: 120.8 kB / 0.5964 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.1713, allocations: 112.9 kB / 0.5965 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.212e-05/0.1714, allocations: 184.2 kB / 0.5967 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/0.1715, allocations: 176.3 kB / 0.5969 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/0.1716, allocations: 180.2 kB / 0.5971 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1719, allocations: 421.1 kB / 0.5975 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/0.1719, allocations: 101 kB / 0.5976 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.172, allocations: 108.9 kB / 0.5977 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.966e-05/0.172, allocations: 180.3 kB / 0.5978 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.1721, allocations: 180.2 kB / 0.598 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.069e-05/0.1722, allocations: 184.2 kB / 0.5982 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-05/0.1723, allocations: 176.3 kB / 0.5983 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1724, allocations: 315.6 kB / 0.5986 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.1726, allocations: 190 kB / 0.5988 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.1726, allocations: 180.2 kB / 0.599 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.1727, allocations: 105 kB / 0.5991 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.1728, allocations: 184.2 kB / 0.5993 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.1729, allocations: 105 kB / 0.5994 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.437e-05/0.173, allocations: 105.3 kB / 0.5995 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 0 / 0.5995 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006712/0.1737, allocations: 271.8 kB / 0.5997 GB, free: 4.227 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.001007/0.1747, allocations: 0.5172 MB / 0.6002 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1748, allocations: 49.62 kB / 0.6003 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1748, allocations: 0 / 0.6003 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1748, allocations: 0 / 0.6003 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1752, allocations: 463.6 kB / 0.6007 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.1755, allocations: 256 kB / 0.601 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1758, allocations: 0.6807 MB / 0.6016 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.1759, allocations: 0 / 0.6016 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.1759, allocations: 7.438 kB / 0.6016 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1759, allocations: 0 / 0.6016 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of Templates: time 0.2122/0.3881, allocations: 5.438 MB / 0.607 GB, free: 51.86 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)