Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005567/0.005567, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001273/0.001273, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.727/0.727, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 62.75 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1531, allocations: 80.19 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002301/0.1554, allocations: 1.433 MB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.1591, allocations: 2.872 MB / 0.6639 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1592, allocations: 4 kB / 0.664 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.1592, allocations: 3.938 kB / 0.664 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.1593, allocations: 19.84 kB / 0.664 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.1623, allocations: 1.584 MB / 0.6655 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.1624, allocations: 47.67 kB / 0.6656 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.1624, allocations: 11.97 kB / 0.6656 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.1625, allocations: 7.938 kB / 0.6656 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.1625, allocations: 15.88 kB / 0.6656 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1625, allocations: 8 kB / 0.6656 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.1643, allocations: 1.525 MB / 0.6671 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1643, allocations: 8 kB / 0.6671 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.1644, allocations: 11.88 kB / 0.6671 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1655, allocations: 1.111 MB / 0.6682 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1655, allocations: 0 / 0.6682 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1656, allocations: 0 / 0.6682 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1656, allocations: 0 / 0.6682 GB, free: 4.816 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.0005317/0.1661, allocations: 0.5286 MB / 0.6687 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1661, allocations: 8.75 kB / 0.6687 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.1662, allocations: 88.11 kB / 0.6688 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1663, allocations: 251.5 kB / 0.6691 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.1664, allocations: 154.7 kB / 0.6692 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.1665, allocations: 150.6 kB / 0.6693 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.535e-05/0.1665, allocations: 112.9 kB / 0.6694 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.1665, allocations: 75.28 kB / 0.6695 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.1666, allocations: 154.6 kB / 0.6697 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.1666, allocations: 150.6 kB / 0.6698 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.1667, allocations: 150.6 kB / 0.67 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.167, allocations: 465.9 kB / 0.6704 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.167, allocations: 173 kB / 0.6706 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.1671, allocations: 80.14 kB / 0.6706 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1671, allocations: 75.28 kB / 0.6707 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.1671, allocations: 117.8 kB / 0.6708 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1671, allocations: 4 kB / 0.6708 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.413e-05/0.1672, allocations: 33.66 kB / 0.6709 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.1673, allocations: 130.6 kB / 0.671 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1674, allocations: 132 kB / 0.6711 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1674, allocations: 25.7 kB / 0.6711 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.1675, allocations: 92.14 kB / 0.6712 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.1675, allocations: 3.984 kB / 0.6712 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1675, allocations: 21.7 kB / 0.6712 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.1676, allocations: 314.8 kB / 0.6715 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.1676, allocations: 8 kB / 0.6716 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.1677, allocations: 7.984 kB / 0.6716 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.1677, allocations: 16.8 kB / 0.6716 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1677, allocations: 4 kB / 0.6716 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001108/0.1678, allocations: 45.66 kB / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1679, allocations: 15.88 kB / 0.6716 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.1679, allocations: 0 / 0.6716 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1679, allocations: 0 / 0.6716 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-06/0.1679, allocations: 12.05 kB / 0.6717 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1679, allocations: 0 / 0.6717 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.1679, allocations: 3.938 kB / 0.6717 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1679, allocations: 0 / 0.6717 GB, free: 1.039 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 8.83e-05/0.168, allocations: 193.8 kB / 0.6718 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.1681, allocations: 108.9 kB / 0.6719 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.1682, allocations: 120.6 kB / 0.6721 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/0.1682, allocations: 188.2 kB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-05/0.1683, allocations: 176.3 kB / 0.6724 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/0.1683, allocations: 184.2 kB / 0.6726 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1686, allocations: 413.2 kB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.873e-05/0.1686, allocations: 112.9 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.1686, allocations: 101 kB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.325e-05/0.1687, allocations: 180.3 kB / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.1688, allocations: 180.2 kB / 0.6735 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/0.1688, allocations: 184.3 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.317e-05/0.1689, allocations: 184.2 kB / 0.6739 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.169, allocations: 311.7 kB / 0.6742 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.1691, allocations: 190 kB / 0.6744 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.1691, allocations: 180.3 kB / 0.6745 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.1692, allocations: 112.9 kB / 0.6746 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1693, allocations: 176.3 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.1693, allocations: 105 kB / 0.6749 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.1694, allocations: 105.4 kB / 0.675 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1694, allocations: 0 / 0.675 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006766/0.1701, allocations: 287 kB / 0.6753 GB, free: 13.1 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.0009016/0.171, allocations: 0.5363 MB / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.1711, allocations: 41.69 kB / 0.6758 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1711, allocations: 0 / 0.6758 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.1711, allocations: 0 / 0.6758 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1715, allocations: 464.3 kB / 0.6763 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.1718, allocations: 246.5 kB / 0.6765 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.172, allocations: 0.6846 MB / 0.6772 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.149e-05/0.172, allocations: 0 / 0.6772 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-06/0.172, allocations: 11.44 kB / 0.6772 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1721, allocations: 0 / 0.6772 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.007988/0.18, allocations: 5.608 MB / 0.6827 GB, free: 5.512 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)