Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000856/0.000856, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005026/0.005026, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 258.9 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9122/0.9122, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 13.56 kB / 0.5987 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 88.54 MB / 0.6852 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001316/0.1543, allocations: 1.151 MB / 0.6863 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.1581, allocations: 2.892 MB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.1582, allocations: 0 / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1582, allocations: 3.984 kB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.1583, allocations: 14.84 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.1613, allocations: 1.353 MB / 0.6905 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.1613, allocations: 43.73 kB / 0.6905 GB, free: 9.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.1614, allocations: 3.938 kB / 0.6905 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.1614, allocations: 11.94 kB / 0.6905 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.49e-05/0.1614, allocations: 23.92 kB / 0.6905 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1614, allocations: 0 / 0.6905 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.1633, allocations: 1.431 MB / 0.6919 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.1633, allocations: 3.938 kB / 0.6919 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.1633, allocations: 45.58 kB / 0.692 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1645, allocations: 1.088 MB / 0.6931 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1646, allocations: 0 / 0.6931 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1646, allocations: 3.938 kB / 0.6931 GB, free: 7.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1646, allocations: 0 / 0.6931 GB, free: 7.023 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.0005154/0.1651, allocations: 0.5126 MB / 0.6936 GB, free: 6.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1651, allocations: 8.031 kB / 0.6936 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.1652, allocations: 84.12 kB / 0.6936 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1653, allocations: 247.5 kB / 0.6939 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.1654, allocations: 154.9 kB / 0.694 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.1654, allocations: 154.9 kB / 0.6942 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.181e-05/0.1655, allocations: 117 kB / 0.6943 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1655, allocations: 75.28 kB / 0.6944 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.1656, allocations: 150.6 kB / 0.6945 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.1656, allocations: 150.6 kB / 0.6946 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.1657, allocations: 154.6 kB / 0.6948 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.1659, allocations: 461.9 kB / 0.6952 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.166, allocations: 173.1 kB / 0.6954 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.166, allocations: 80.14 kB / 0.6955 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1661, allocations: 75.28 kB / 0.6955 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1661, allocations: 113.8 kB / 0.6957 GB, free: 4.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1661, allocations: 4 kB / 0.6957 GB, free: 4.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.591e-05/0.1662, allocations: 29.61 kB / 0.6957 GB, free: 4.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1662, allocations: 138.6 kB / 0.6958 GB, free: 4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1664, allocations: 131.9 kB / 0.6959 GB, free: 3.863 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1664, allocations: 25.7 kB / 0.696 GB, free: 3.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.1664, allocations: 88.12 kB / 0.6961 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.1664, allocations: 0 / 0.6961 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1665, allocations: 17.72 kB / 0.6961 GB, free: 3.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.1666, allocations: 318.8 kB / 0.6964 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.1666, allocations: 8 kB / 0.6964 GB, free: 3.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.1666, allocations: 4 kB / 0.6964 GB, free: 3.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.1666, allocations: 8.859 kB / 0.6964 GB, free: 3.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1666, allocations: 0 / 0.6964 GB, free: 3.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1668, allocations: 61.47 kB / 0.6965 GB, free: 3.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1668, allocations: 4 kB / 0.6965 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.1668, allocations: 0 / 0.6965 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1668, allocations: 4 kB / 0.6965 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1668, allocations: 4.062 kB / 0.6965 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1668, allocations: 0 / 0.6965 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1669, allocations: 3.938 kB / 0.6965 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1669, allocations: 3.984 kB / 0.6965 GB, free: 3.289 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.215e-05/0.167, allocations: 189.8 kB / 0.6967 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.167, allocations: 116.9 kB / 0.6968 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.1671, allocations: 116.8 kB / 0.6969 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/0.1671, allocations: 184.2 kB / 0.6971 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/0.1672, allocations: 176.3 kB / 0.6972 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/0.1672, allocations: 184.2 kB / 0.6974 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1674, allocations: 413.2 kB / 0.6978 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/0.1675, allocations: 112.9 kB / 0.6979 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.1675, allocations: 101 kB / 0.698 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.897e-05/0.1676, allocations: 180.3 kB / 0.6982 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.1676, allocations: 184.2 kB / 0.6983 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.195e-05/0.1677, allocations: 188.2 kB / 0.6985 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.627e-05/0.1677, allocations: 180.2 kB / 0.6987 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1679, allocations: 303.8 kB / 0.699 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.1679, allocations: 197.9 kB / 0.6992 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.168, allocations: 176.3 kB / 0.6993 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1681, allocations: 105 kB / 0.6994 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.1681, allocations: 188.2 kB / 0.6996 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.1682, allocations: 108.9 kB / 0.6997 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.1682, allocations: 106.1 kB / 0.6998 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1682, allocations: 0 / 0.6998 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006286/0.1689, allocations: 279.8 kB / 0.7001 GB, free: 15.36 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.0009037/0.1698, allocations: 0.5077 MB / 0.7006 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.1699, allocations: 41.69 kB / 0.7006 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1699, allocations: 4.062 kB / 0.7006 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.1699, allocations: 0 / 0.7006 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1703, allocations: 0.5306 MB / 0.7012 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.1705, allocations: 267.6 kB / 0.7014 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1708, allocations: 0.6848 MB / 0.7021 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.151e-05/0.1708, allocations: 0 / 0.7021 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.1708, allocations: 11.44 kB / 0.7021 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1708, allocations: 0 / 0.7021 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.008528/0.1793, allocations: 5.473 MB / 0.7074 GB, free: 7.828 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)