Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001084/0.001084, allocations: 108.6 kB / 15.73 MB, free: 76 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.001005/0.001005, allocations: 189.9 kB / 16.66 MB, free: 6.59 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.258/1.258, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6955/0.6955, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 64.19 kB / 0.5814 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1502, allocations: 80.21 MB / 0.6597 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002322/0.1526, allocations: 1.428 MB / 0.6611 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.1567, allocations: 2.872 MB / 0.6639 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.1568, allocations: 0 / 0.6639 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.1568, allocations: 4 kB / 0.664 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.1569, allocations: 19.8 kB / 0.664 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.1603, allocations: 1.574 MB / 0.6655 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.856e-05/0.1604, allocations: 47.67 kB / 0.6656 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.1605, allocations: 11.92 kB / 0.6656 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.1605, allocations: 15.88 kB / 0.6656 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.1606, allocations: 19.86 kB / 0.6656 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1606, allocations: 0 / 0.6656 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.1626, allocations: 1.529 MB / 0.6671 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1627, allocations: 11.98 kB / 0.6671 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.1627, allocations: 15.88 kB / 0.6671 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1639, allocations: 1.091 MB / 0.6682 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1639, allocations: 0 / 0.6682 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.846e-06/0.164, allocations: 0 / 0.6682 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.164, allocations: 3.938 kB / 0.6682 GB, free: 4.965 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.0005709/0.1645, allocations: 0.5325 MB / 0.6687 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1646, allocations: 12.75 kB / 0.6687 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.1647, allocations: 84.17 kB / 0.6688 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1648, allocations: 249.3 kB / 0.669 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.1649, allocations: 158.6 kB / 0.6692 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.1649, allocations: 150.6 kB / 0.6693 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.223e-05/0.165, allocations: 109 kB / 0.6694 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.165, allocations: 87.22 kB / 0.6695 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.1651, allocations: 150.6 kB / 0.6697 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.1651, allocations: 150.6 kB / 0.6698 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.1652, allocations: 150.6 kB / 0.6699 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.1655, allocations: 465.9 kB / 0.6704 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.1656, allocations: 173.1 kB / 0.6706 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.1656, allocations: 80.14 kB / 0.6706 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1656, allocations: 75.28 kB / 0.6707 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.1657, allocations: 109.8 kB / 0.6708 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1657, allocations: 0 / 0.6708 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.105e-05/0.1658, allocations: 41.59 kB / 0.6709 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1658, allocations: 130.7 kB / 0.671 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1659, allocations: 127.7 kB / 0.6711 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.166, allocations: 29.69 kB / 0.6711 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.166, allocations: 92.14 kB / 0.6712 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.166, allocations: 0 / 0.6712 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1661, allocations: 17.72 kB / 0.6712 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.1662, allocations: 314.8 kB / 0.6715 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.1662, allocations: 12 kB / 0.6715 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.1662, allocations: 4 kB / 0.6715 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.1663, allocations: 24.86 kB / 0.6716 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1663, allocations: 0 / 0.6716 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000119/0.1664, allocations: 53.58 kB / 0.6716 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1664, allocations: 8 kB / 0.6716 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.1664, allocations: 0 / 0.6716 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1664, allocations: 7.938 kB / 0.6716 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1664, allocations: 0 / 0.6716 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1665, allocations: 4.062 kB / 0.6716 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.1665, allocations: 7.891 kB / 0.6716 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1665, allocations: 7.969 kB / 0.6717 GB, free: 1.176 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 9.017e-05/0.1666, allocations: 193.1 kB / 0.6718 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.1666, allocations: 109 kB / 0.6719 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.1667, allocations: 116.6 kB / 0.6721 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/0.1668, allocations: 176.3 kB / 0.6722 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-05/0.1668, allocations: 188.2 kB / 0.6724 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.1669, allocations: 180.2 kB / 0.6726 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1671, allocations: 421.1 kB / 0.673 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.1672, allocations: 104.9 kB / 0.6731 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.1672, allocations: 101 kB / 0.6732 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.686e-05/0.1673, allocations: 184.2 kB / 0.6733 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.1673, allocations: 180.2 kB / 0.6735 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.428e-05/0.1674, allocations: 180.3 kB / 0.6737 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.663e-05/0.1674, allocations: 184.2 kB / 0.6739 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.1676, allocations: 311.7 kB / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.1676, allocations: 190 kB / 0.6743 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.1677, allocations: 180.3 kB / 0.6745 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1678, allocations: 108.9 kB / 0.6746 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1679, allocations: 184.3 kB / 0.6748 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.1679, allocations: 104.9 kB / 0.6749 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.168, allocations: 103.2 kB / 0.675 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.168, allocations: 0 / 0.675 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005958/0.1686, allocations: 287 kB / 0.6753 GB, free: 13.24 MB / 0.5137 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.0009729/0.1696, allocations: 0.5393 MB / 0.6758 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.974e-05/0.1697, allocations: 41.7 kB / 0.6758 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1697, allocations: 0 / 0.6758 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1697, allocations: 0 / 0.6758 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.17, allocations: 470.9 kB / 0.6763 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.1703, allocations: 243.9 kB / 0.6765 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1705, allocations: 0.6807 MB / 0.6772 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.249e-05/0.1705, allocations: 3.984 kB / 0.6772 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-06/0.1706, allocations: 11.44 kB / 0.6772 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1706, allocations: 0 / 0.6772 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.008058/0.1786, allocations: 5.591 MB / 0.6827 GB, free: 5.66 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)