Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006726/0.006726, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001448/0.001448, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002674/0.002674, allocations: 286.5 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 99.84 kB / 0.6815 GB, free: 15.38 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1539, allocations: 86.97 MB / 0.7665 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002176/0.1561, allocations: 1.426 MB / 0.7678 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.16, allocations: 2.853 MB / 0.7706 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.16, allocations: 0 / 0.7706 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.1601, allocations: 7.938 kB / 0.7706 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.1601, allocations: 15.86 kB / 0.7707 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.1635, allocations: 1.563 MB / 0.7722 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.1636, allocations: 47.67 kB / 0.7722 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.1637, allocations: 0 / 0.7722 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.1637, allocations: 15.92 kB / 0.7722 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.1637, allocations: 15.92 kB / 0.7723 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1637, allocations: 0 / 0.7723 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.1657, allocations: 1.495 MB / 0.7737 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1657, allocations: 3.938 kB / 0.7737 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.1657, allocations: 19.88 kB / 0.7737 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3242/0.4899, allocations: 1.067 MB / 0.7748 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.49, allocations: 0.6562 kB / 0.7748 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.49, allocations: 0 / 0.7748 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.49, allocations: 1.297 kB / 0.7748 GB, free: 10.07 MB / 0.5606 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.0006397/0.4907, allocations: 0.5252 MB / 0.7753 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4907, allocations: 12.44 kB / 0.7753 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.4908, allocations: 82.98 kB / 0.7754 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.4909, allocations: 257 kB / 0.7756 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4909, allocations: 153.3 kB / 0.7758 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.4909, allocations: 155.3 kB / 0.7759 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.429e-05/0.491, allocations: 107.3 kB / 0.776 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.491, allocations: 85.14 kB / 0.7761 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.491, allocations: 150.6 kB / 0.7763 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.491, allocations: 154.7 kB / 0.7764 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.4911, allocations: 151.2 kB / 0.7765 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.4913, allocations: 464 kB / 0.777 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.126e-05/0.4913, allocations: 168.1 kB / 0.7771 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.4913, allocations: 81.69 kB / 0.7772 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.4914, allocations: 75.84 kB / 0.7773 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.4914, allocations: 121.3 kB / 0.7774 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.4914, allocations: 0 / 0.7774 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.373e-05/0.4915, allocations: 33.06 kB / 0.7774 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.4915, allocations: 129.5 kB / 0.7776 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4917, allocations: 128.4 kB / 0.7777 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-06/0.4917, allocations: 25.7 kB / 0.7777 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.4917, allocations: 95.42 kB / 0.7778 GB, free: 7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.4917, allocations: 0.9375 kB / 0.7778 GB, free: 7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.4918, allocations: 16.12 kB / 0.7778 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.4918, allocations: 317.6 kB / 0.7781 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.4918, allocations: 4.406 kB / 0.7781 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.4919, allocations: 8.641 kB / 0.7781 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.4919, allocations: 14.81 kB / 0.7782 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4919, allocations: 0.5156 kB / 0.7782 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.492, allocations: 54.3 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4921, allocations: 7.094 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.4921, allocations: 7.094 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4921, allocations: 2.797 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.4921, allocations: 0.75 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4921, allocations: 0.7188 kB / 0.7782 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.4922, allocations: 4.844 kB / 0.7782 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4922, allocations: 1.438 kB / 0.7782 GB, free: 6.621 MB / 0.5606 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 6.304e-05/0.4922, allocations: 191.8 kB / 0.7784 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.4923, allocations: 115.6 kB / 0.7785 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.4923, allocations: 111.9 kB / 0.7786 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.4923, allocations: 181.8 kB / 0.7788 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/0.4924, allocations: 178.8 kB / 0.779 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001197/0.4925, allocations: 181 kB / 0.7791 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.4927, allocations: 414.1 kB / 0.7795 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/0.4928, allocations: 107.6 kB / 0.7796 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.4928, allocations: 107 kB / 0.7797 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.508e-05/0.4929, allocations: 186.9 kB / 0.7799 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.4929, allocations: 181.7 kB / 0.7801 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-05/0.493, allocations: 179.7 kB / 0.7803 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.264e-05/0.493, allocations: 181.7 kB / 0.7804 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.4932, allocations: 312.6 kB / 0.7807 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.4933, allocations: 185.5 kB / 0.7809 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.4933, allocations: 182.6 kB / 0.7811 GB, free: 19.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.4934, allocations: 106.2 kB / 0.7812 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.4935, allocations: 179.9 kB / 0.7814 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.4935, allocations: 108.8 kB / 0.7815 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.4936, allocations: 100.6 kB / 0.7816 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4936, allocations: 0.6875 kB / 0.7816 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008339/0.4944, allocations: 280 kB / 0.7818 GB, free: 19.08 MB / 0.5762 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.001036/0.4955, allocations: 0.5194 MB / 0.7823 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.606e-05/0.4956, allocations: 41.67 kB / 0.7824 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4956, allocations: 0 / 0.7824 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.4956, allocations: 4.562 kB / 0.7824 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.496, allocations: 463.6 kB / 0.7828 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.4963, allocations: 246 kB / 0.7831 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.4965, allocations: 0.6819 MB / 0.7837 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.4965, allocations: 1.5 kB / 0.7837 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-06/0.4966, allocations: 10.47 kB / 0.7837 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.4966, allocations: 0 / 0.7837 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.0103/0.5069, allocations: 5.438 MB / 0.789 GB, free: 17.12 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)