Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004096/0.004096, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.0009888/0.0009888, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7146/0.7146, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.94 kB / 0.5814 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 80.2 MB / 0.6598 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002519/0.1509, allocations: 1.421 MB / 0.6611 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.1547, allocations: 2.841 MB / 0.6639 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1548, allocations: 0 / 0.6639 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1548, allocations: 3.938 kB / 0.6639 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.1549, allocations: 15.84 kB / 0.6639 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.1585, allocations: 1.536 MB / 0.6654 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.1586, allocations: 47.73 kB / 0.6655 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1587, allocations: 7.922 kB / 0.6655 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.1587, allocations: 11.94 kB / 0.6655 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.1587, allocations: 19.86 kB / 0.6655 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1587, allocations: 4 kB / 0.6655 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.1609, allocations: 1.478 MB / 0.667 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.1609, allocations: 11.88 kB / 0.667 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.161, allocations: 19.88 kB / 0.667 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.1626, allocations: 1.068 MB / 0.668 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1626, allocations: 0 / 0.668 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1626, allocations: 4 kB / 0.668 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1626, allocations: 0 / 0.668 GB, free: 4.996 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.0006391/0.1633, allocations: 0.5324 MB / 0.6686 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1633, allocations: 8.75 kB / 0.6686 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.1634, allocations: 76.22 kB / 0.6686 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1635, allocations: 257.6 kB / 0.6689 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.1636, allocations: 158.7 kB / 0.669 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.1636, allocations: 154.6 kB / 0.6692 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.484e-05/0.1637, allocations: 105 kB / 0.6693 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.1637, allocations: 75.28 kB / 0.6694 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.1637, allocations: 150.6 kB / 0.6695 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.1638, allocations: 158.5 kB / 0.6697 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.1638, allocations: 158.6 kB / 0.6698 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.1641, allocations: 453.9 kB / 0.6702 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.1642, allocations: 181 kB / 0.6704 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.1642, allocations: 80.14 kB / 0.6705 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1642, allocations: 79.22 kB / 0.6706 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.1643, allocations: 113.8 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1643, allocations: 0 / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.974e-05/0.1644, allocations: 29.7 kB / 0.6707 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1644, allocations: 126.7 kB / 0.6708 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1645, allocations: 133.7 kB / 0.6709 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1645, allocations: 25.7 kB / 0.671 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.1646, allocations: 100.1 kB / 0.6711 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.1646, allocations: 0 / 0.6711 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1646, allocations: 13.72 kB / 0.6711 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.1647, allocations: 314.8 kB / 0.6714 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.1648, allocations: 7.984 kB / 0.6714 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.1648, allocations: 15.88 kB / 0.6714 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.1648, allocations: 12.8 kB / 0.6714 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1648, allocations: 4 kB / 0.6714 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.1649, allocations: 49.66 kB / 0.6715 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.165, allocations: 14.55 kB / 0.6715 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.165, allocations: 4 kB / 0.6715 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.165, allocations: 0 / 0.6715 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.165, allocations: 0 / 0.6715 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.165, allocations: 0 / 0.6715 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.165, allocations: 0 / 0.6715 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1651, allocations: 7.938 kB / 0.6715 GB, free: 1.227 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 7.463e-05/0.1651, allocations: 185.7 kB / 0.6717 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.1652, allocations: 120.9 kB / 0.6718 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1653, allocations: 112.8 kB / 0.6719 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/0.1653, allocations: 180.2 kB / 0.6721 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/0.1654, allocations: 180.3 kB / 0.6722 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-05/0.1654, allocations: 176.3 kB / 0.6724 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1656, allocations: 421.1 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/0.1657, allocations: 109 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.1657, allocations: 104.9 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/0.1658, allocations: 176.3 kB / 0.6732 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.1658, allocations: 180.3 kB / 0.6734 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.941e-05/0.1659, allocations: 180.2 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.271e-05/0.1659, allocations: 184.2 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.166, allocations: 307.7 kB / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1661, allocations: 186 kB / 0.6742 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.1662, allocations: 188.2 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1662, allocations: 101 kB / 0.6744 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.1663, allocations: 192.2 kB / 0.6746 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1663, allocations: 101 kB / 0.6747 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.1664, allocations: 95.27 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1664, allocations: 0 / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006838/0.1671, allocations: 283 kB / 0.6751 GB, free: 13.32 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.001047/0.1681, allocations: 0.5238 MB / 0.6756 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.457e-05/0.1682, allocations: 33.64 kB / 0.6756 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1682, allocations: 4 kB / 0.6756 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.1683, allocations: 0 / 0.6756 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1686, allocations: 472.3 kB / 0.6761 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.1689, allocations: 239.9 kB / 0.6763 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1691, allocations: 0.6807 MB / 0.677 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.349e-05/0.1692, allocations: 0 / 0.677 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.1692, allocations: 11.44 kB / 0.677 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1692, allocations: 0 / 0.677 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.008735/0.1779, allocations: 5.437 MB / 0.6823 GB, free: 5.918 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)