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.001587/0.001587, 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.001293/0.001293, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002682/0.002682, allocations: 294.8 kB / 290.4 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 178.6 MB / 0.507 GB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 103.4 kB / 0.606 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1611, allocations: 89.15 MB / 0.693 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002592/0.1637, allocations: 1.494 MB / 0.6945 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.1681, allocations: 2.894 MB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.1681, allocations: 1.719 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.1682, allocations: 3.984 kB / 0.6973 GB, free: 208 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.1682, allocations: 11.86 kB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.1717, allocations: 1.469 MB / 0.6988 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.591e-05/0.1718, allocations: 47.72 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1719, allocations: 4 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1719, allocations: 11.94 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.1719, allocations: 19.88 kB / 0.6989 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.1719, allocations: 0 / 0.6989 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.174, allocations: 1.47 MB / 0.7003 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.174, allocations: 3.984 kB / 0.7003 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.174, allocations: 15.88 kB / 0.7003 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.1754, allocations: 1.099 MB / 0.7014 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1755, allocations: 0 / 0.7014 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1755, allocations: 0 / 0.7014 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1755, allocations: 0 / 0.7014 GB, free: 12.07 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.0006335/0.1761, allocations: 0.5223 MB / 0.7019 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1761, allocations: 8.031 kB / 0.7019 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.1762, allocations: 88.22 kB / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1764, allocations: 259.4 kB / 0.7022 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.1765, allocations: 150.9 kB / 0.7024 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.1766, allocations: 150.9 kB / 0.7025 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.907e-05/0.1766, allocations: 109.1 kB / 0.7026 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1767, allocations: 75.28 kB / 0.7027 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.1768, allocations: 154.6 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/0.1768, allocations: 154.5 kB / 0.703 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.1769, allocations: 150.6 kB / 0.7031 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1772, allocations: 465.9 kB / 0.7036 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1773, allocations: 173.1 kB / 0.7037 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.1774, allocations: 80.14 kB / 0.7038 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1774, allocations: 75.28 kB / 0.7039 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.1775, allocations: 125.8 kB / 0.704 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1775, allocations: 0 / 0.704 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.86e-05/0.1776, allocations: 29.7 kB / 0.704 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.1777, allocations: 134.7 kB / 0.7042 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1778, allocations: 136.5 kB / 0.7043 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1778, allocations: 25.7 kB / 0.7043 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.1779, allocations: 88.14 kB / 0.7044 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.1779, allocations: 0 / 0.7044 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.178, allocations: 21.7 kB / 0.7044 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1781, allocations: 318.8 kB / 0.7047 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.1781, allocations: 0 / 0.7047 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.1782, allocations: 11.98 kB / 0.7047 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.1782, allocations: 20.8 kB / 0.7048 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1782, allocations: 0 / 0.7048 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001267/0.1783, allocations: 53.48 kB / 0.7048 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1784, allocations: 8 kB / 0.7048 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.1784, allocations: 4 kB / 0.7048 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1784, allocations: 3.984 kB / 0.7048 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.1784, allocations: 0 / 0.7048 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1784, allocations: 3.938 kB / 0.7048 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.1785, allocations: 0 / 0.7048 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1785, allocations: 4.062 kB / 0.7048 GB, free: 8.297 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 0.0001116/0.1786, allocations: 189.1 kB / 0.705 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.1787, allocations: 116.8 kB / 0.7051 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.1787, allocations: 104.9 kB / 0.7052 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.369e-05/0.1788, allocations: 184.2 kB / 0.7054 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.028e-05/0.1789, allocations: 180.3 kB / 0.7056 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.694e-05/0.179, allocations: 184.3 kB / 0.7058 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.1793, allocations: 417.2 kB / 0.7062 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/0.1794, allocations: 108.9 kB / 0.7063 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.1794, allocations: 104.9 kB / 0.7064 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-05/0.1795, allocations: 176.3 kB / 0.7065 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.1796, allocations: 188.3 kB / 0.7067 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.238e-05/0.1797, allocations: 180.2 kB / 0.7069 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.871e-05/0.1798, allocations: 176.3 kB / 0.707 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1799, allocations: 315.7 kB / 0.7073 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.18, allocations: 190 kB / 0.7075 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.1801, allocations: 180.2 kB / 0.7077 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.1802, allocations: 105 kB / 0.7078 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.1803, allocations: 184.2 kB / 0.708 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.1804, allocations: 101 kB / 0.7081 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.657e-05/0.1805, allocations: 101.8 kB / 0.7082 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1805, allocations: 0 / 0.7082 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007244/0.1812, allocations: 287.8 kB / 0.7084 GB, free: 4.383 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.001112/0.1823, allocations: 0.5322 MB / 0.709 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1825, allocations: 45.62 kB / 0.709 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1825, allocations: 4.062 kB / 0.709 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.1825, allocations: 4 kB / 0.709 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.183, allocations: 464.1 kB / 0.7095 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1833, allocations: 248.1 kB / 0.7097 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1837, allocations: 0.6845 MB / 0.7104 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.1837, allocations: 0 / 0.7104 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1837, allocations: 7.438 kB / 0.7104 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1837, allocations: 3.938 kB / 0.7104 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.0105/0.1942, allocations: 5.657 MB / 0.7159 GB, free: 12.73 MB / 0.5137 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)