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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001198, allocations: 191.9 kB / 16.13 MB, free: 6.719 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.289/1.289, allocations: 222.9 MB / 239.8 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.001997/0.001997, allocations: 294.8 kB / 290.2 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 91.14 kB / 0.5945 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 86.98 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002451/0.158, allocations: 1.478 MB / 0.6809 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.1621, allocations: 2.973 MB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.1621, allocations: 3.938 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.1621, allocations: 7.938 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.1622, allocations: 11.86 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.1654, allocations: 1.36 MB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.1655, allocations: 39.73 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.1655, allocations: 7.938 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.1656, allocations: 15.94 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.53e-05/0.1656, allocations: 19.86 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1656, allocations: 4 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.1674, allocations: 1.427 MB / 0.6867 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1675, allocations: 0 / 0.6867 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.1675, allocations: 19.88 kB / 0.6867 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1688, allocations: 1.084 MB / 0.6877 GB, free: 8.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1688, allocations: 0 / 0.6877 GB, free: 8.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1688, allocations: 0 / 0.6877 GB, free: 8.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1688, allocations: 4 kB / 0.6877 GB, free: 8.668 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.0006098/0.1695, allocations: 0.5147 MB / 0.6882 GB, free: 8.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1695, allocations: 16.02 kB / 0.6883 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.1696, allocations: 80.12 kB / 0.6883 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1697, allocations: 249.5 kB / 0.6886 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.1698, allocations: 150.9 kB / 0.6887 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.1698, allocations: 158.9 kB / 0.6889 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.289e-05/0.1699, allocations: 105.1 kB / 0.689 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1699, allocations: 75.28 kB / 0.689 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.17, allocations: 154.5 kB / 0.6892 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.17, allocations: 154.5 kB / 0.6893 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.1701, allocations: 154.5 kB / 0.6895 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.1703, allocations: 465.9 kB / 0.6899 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.043e-05/0.1704, allocations: 169.1 kB / 0.6901 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.1705, allocations: 88.14 kB / 0.6902 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1705, allocations: 83.2 kB / 0.6903 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1705, allocations: 117.7 kB / 0.6904 GB, free: 5.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1705, allocations: 0 / 0.6904 GB, free: 5.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.651e-05/0.1706, allocations: 33.61 kB / 0.6904 GB, free: 5.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1707, allocations: 126.7 kB / 0.6905 GB, free: 5.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1708, allocations: 129.8 kB / 0.6906 GB, free: 5.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1708, allocations: 25.7 kB / 0.6907 GB, free: 5.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.1709, allocations: 92.05 kB / 0.6908 GB, free: 5.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.1709, allocations: 16 / 0.6908 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1709, allocations: 25.7 kB / 0.6908 GB, free: 5.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.171, allocations: 310.8 kB / 0.6911 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.171, allocations: 8 kB / 0.6911 GB, free: 5.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.1711, allocations: 7.953 kB / 0.6911 GB, free: 5.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.1711, allocations: 12.84 kB / 0.6911 GB, free: 4.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1711, allocations: 0 / 0.6911 GB, free: 4.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.1712, allocations: 45.64 kB / 0.6912 GB, free: 4.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1712, allocations: 10.66 kB / 0.6912 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1713, allocations: 64 / 0.6912 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1713, allocations: 11.98 kB / 0.6912 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1713, allocations: 0 / 0.6912 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1713, allocations: 0 / 0.6912 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.1713, allocations: 7.844 kB / 0.6912 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1713, allocations: 0 / 0.6912 GB, free: 4.918 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.705e-05/0.1714, allocations: 193.8 kB / 0.6914 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1715, allocations: 112.9 kB / 0.6915 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1715, allocations: 116.8 kB / 0.6916 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.058e-05/0.1716, allocations: 180.2 kB / 0.6918 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-05/0.1716, allocations: 176.3 kB / 0.6919 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/0.1717, allocations: 184.3 kB / 0.6921 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1719, allocations: 409.2 kB / 0.6925 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.1719, allocations: 112.9 kB / 0.6926 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.172, allocations: 108.9 kB / 0.6927 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.013e-05/0.172, allocations: 176.3 kB / 0.6929 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.1721, allocations: 180.3 kB / 0.693 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.79e-05/0.1721, allocations: 184.2 kB / 0.6932 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.867e-05/0.1722, allocations: 176.3 kB / 0.6934 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.1723, allocations: 315.7 kB / 0.6937 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1724, allocations: 201.8 kB / 0.6939 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.1724, allocations: 176.3 kB / 0.694 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.1725, allocations: 109 kB / 0.6942 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.1726, allocations: 184.2 kB / 0.6943 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.1726, allocations: 105 kB / 0.6944 GB, free: 1.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.1727, allocations: 99.27 kB / 0.6945 GB, free: 1.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 0.6945 GB, free: 1.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.1734, allocations: 275.8 kB / 0.6948 GB, free: 0.9961 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.0009972/0.1744, allocations: 0.5164 MB / 0.6953 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.1745, allocations: 49.58 kB / 0.6953 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1745, allocations: 0 / 0.6953 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.1745, allocations: 4 kB / 0.6953 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1749, allocations: 0.5306 MB / 0.6959 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.1752, allocations: 245.9 kB / 0.6961 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1754, allocations: 0.6809 MB / 0.6968 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.362e-05/0.1754, allocations: 3.984 kB / 0.6968 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-06/0.1754, allocations: 11.44 kB / 0.6968 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1754, allocations: 4 kB / 0.6968 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.008572/0.184, allocations: 5.487 MB / 0.7021 GB, free: 9.461 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)