Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001388/0.001388, 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.001522/0.001522, allocations: 190.1 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 290.8 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9612/0.9612, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 90.67 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 86.99 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002469/0.1541, allocations: 1.495 MB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.1581, allocations: 2.888 MB / 0.684 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.1581, allocations: 3.938 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1582, allocations: 4 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.1582, allocations: 11.86 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.1616, allocations: 1.463 MB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.1617, allocations: 43.73 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1617, allocations: 11.98 kB / 0.6855 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.1617, allocations: 11.94 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.1618, allocations: 23.86 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.1618, allocations: 3.938 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.1636, allocations: 1.455 MB / 0.6869 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.1637, allocations: 7.984 kB / 0.6869 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1637, allocations: 19.81 kB / 0.687 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1651, allocations: 1.084 MB / 0.688 GB, free: 8.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1651, allocations: 0 / 0.688 GB, free: 8.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1651, allocations: 0 / 0.688 GB, free: 8.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1651, allocations: 4 kB / 0.688 GB, free: 8.469 MB / 494.1 MB 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.0005155/0.1656, allocations: 0.5146 MB / 0.6885 GB, free: 7.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1657, allocations: 8.031 kB / 0.6885 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.1657, allocations: 88.11 kB / 0.6886 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1659, allocations: 251.5 kB / 0.6888 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.1659, allocations: 158.9 kB / 0.689 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.166, allocations: 158.9 kB / 0.6892 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.487e-05/0.1661, allocations: 105.1 kB / 0.6893 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.1661, allocations: 75.28 kB / 0.6893 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.1661, allocations: 150.6 kB / 0.6895 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.1662, allocations: 154.6 kB / 0.6896 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.1663, allocations: 150.6 kB / 0.6898 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.1665, allocations: 469.9 kB / 0.6902 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.1666, allocations: 165.1 kB / 0.6904 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.1666, allocations: 84.12 kB / 0.6904 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1667, allocations: 75.28 kB / 0.6905 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.1667, allocations: 117.8 kB / 0.6906 GB, free: 5.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1667, allocations: 4 kB / 0.6906 GB, free: 5.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.985e-05/0.1668, allocations: 33.55 kB / 0.6907 GB, free: 5.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1669, allocations: 126.7 kB / 0.6908 GB, free: 5.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.167, allocations: 139.9 kB / 0.6909 GB, free: 5.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.167, allocations: 25.7 kB / 0.6909 GB, free: 5.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1671, allocations: 88.12 kB / 0.691 GB, free: 5.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.1671, allocations: 8 kB / 0.691 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1671, allocations: 17.72 kB / 0.6911 GB, free: 5.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.1672, allocations: 314.8 kB / 0.6914 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.1673, allocations: 8 kB / 0.6914 GB, free: 4.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.1673, allocations: 4 kB / 0.6914 GB, free: 4.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.1673, allocations: 12.86 kB / 0.6914 GB, free: 4.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1673, allocations: 0 / 0.6914 GB, free: 4.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.1675, allocations: 53.58 kB / 0.6914 GB, free: 4.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1675, allocations: 4 kB / 0.6914 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.1675, allocations: 12.05 kB / 0.6914 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1675, allocations: 0 / 0.6914 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.123e-06/0.1675, allocations: 0 / 0.6914 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1675, allocations: 11.88 kB / 0.6915 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.1676, allocations: 3.906 kB / 0.6915 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1676, allocations: 0 / 0.6915 GB, free: 4.707 MB / 494.1 MB 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.753e-05/0.1677, allocations: 185.8 kB / 0.6916 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.1677, allocations: 116.8 kB / 0.6917 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.1678, allocations: 120.8 kB / 0.6919 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-05/0.1679, allocations: 176.3 kB / 0.692 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-05/0.1679, allocations: 180.2 kB / 0.6922 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-05/0.168, allocations: 180.3 kB / 0.6924 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1682, allocations: 413.3 kB / 0.6928 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.1683, allocations: 116.9 kB / 0.6929 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.1683, allocations: 105 kB / 0.693 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.799e-05/0.1684, allocations: 180.2 kB / 0.6932 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.1684, allocations: 176.3 kB / 0.6933 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.143e-05/0.1685, allocations: 180.3 kB / 0.6935 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.562e-05/0.1686, allocations: 188.2 kB / 0.6937 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1687, allocations: 303.8 kB / 0.694 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.1688, allocations: 197.9 kB / 0.6941 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/0.1689, allocations: 180.2 kB / 0.6943 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.169, allocations: 108.9 kB / 0.6944 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.1691, allocations: 180.3 kB / 0.6946 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.1691, allocations: 108.9 kB / 0.6947 GB, free: 1.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.1692, allocations: 101.3 kB / 0.6948 GB, free: 1.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1692, allocations: 0 / 0.6948 GB, free: 1.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006708/0.1699, allocations: 279.8 kB / 0.6951 GB, free: 0.7852 MB / 494.1 MB 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.001048/0.1709, allocations: 0.537 MB / 0.6956 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.861e-05/0.171, allocations: 37.7 kB / 0.6956 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.171, allocations: 0 / 0.6956 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.171, allocations: 352 / 0.6956 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1715, allocations: 474 kB / 0.6961 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.1718, allocations: 248.2 kB / 0.6963 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.172, allocations: 0.6807 MB / 0.697 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.172, allocations: 7.906 kB / 0.697 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.1721, allocations: 11.44 kB / 0.697 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1721, allocations: 0 / 0.697 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.009193/0.1813, allocations: 5.655 MB / 0.7025 GB, free: 9.137 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)