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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7668/0.7668, allocations: 143.4 MB / 159.2 MB, free: 4.906 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 179.7 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 447.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009405, allocations: 107.6 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 289.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 80.3 kB / 0.6886 GB, free: 3.777 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3237, allocations: 81.31 MB / 0.768 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002072/0.3258, allocations: 1.472 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.329, allocations: 3.016 MB / 0.7724 GB, free: 23.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.3291, allocations: 0 / 0.7724 GB, free: 23.14 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.3291, allocations: 3.938 kB / 0.7724 GB, free: 23.13 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.3292, allocations: 15.84 kB / 0.7724 GB, free: 23.12 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.3319, allocations: 1.443 MB / 0.7738 GB, free: 21.7 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.332, allocations: 39.73 kB / 0.7738 GB, free: 21.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.332, allocations: 4 kB / 0.7739 GB, free: 21.66 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.332, allocations: 11.94 kB / 0.7739 GB, free: 21.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.107e-05/0.332, allocations: 19.86 kB / 0.7739 GB, free: 21.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3321, allocations: 0 / 0.7739 GB, free: 21.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.3335, allocations: 1.447 MB / 0.7753 GB, free: 20.18 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.3335, allocations: 4 kB / 0.7753 GB, free: 20.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.3336, allocations: 23.84 kB / 0.7753 GB, free: 20.15 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.3346, allocations: 1.096 MB / 0.7764 GB, free: 19.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3346, allocations: 0 / 0.7764 GB, free: 19.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3346, allocations: 0 / 0.7764 GB, free: 19.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3346, allocations: 0 / 0.7764 GB, free: 19.05 MB / 458.7 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.0004269/0.335, allocations: 0.5302 MB / 0.7769 GB, free: 18.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3351, allocations: 8.031 kB / 0.7769 GB, free: 18.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3351, allocations: 84.22 kB / 0.777 GB, free: 18.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.3352, allocations: 243.6 kB / 0.7772 GB, free: 18.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3352, allocations: 150.9 kB / 0.7774 GB, free: 17.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.3353, allocations: 150.9 kB / 0.7775 GB, free: 17.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.897e-05/0.3353, allocations: 105.1 kB / 0.7776 GB, free: 17.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3353, allocations: 79.22 kB / 0.7777 GB, free: 17.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3354, allocations: 158.6 kB / 0.7778 GB, free: 17.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.3354, allocations: 158.5 kB / 0.778 GB, free: 17.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.3354, allocations: 158.5 kB / 0.7781 GB, free: 17.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.3356, allocations: 465.8 kB / 0.7786 GB, free: 16.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.3356, allocations: 173.1 kB / 0.7788 GB, free: 16.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.3357, allocations: 84.08 kB / 0.7788 GB, free: 16.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3357, allocations: 75.28 kB / 0.7789 GB, free: 16.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3357, allocations: 109.8 kB / 0.779 GB, free: 16.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3357, allocations: 4 kB / 0.779 GB, free: 16.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.253e-05/0.3358, allocations: 25.7 kB / 0.779 GB, free: 16.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3358, allocations: 130.7 kB / 0.7792 GB, free: 16.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3359, allocations: 135.2 kB / 0.7793 GB, free: 15.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.3359, allocations: 33.64 kB / 0.7793 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.336, allocations: 96.03 kB / 0.7794 GB, free: 15.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.336, allocations: 0 / 0.7794 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.336, allocations: 13.72 kB / 0.7794 GB, free: 15.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.3361, allocations: 318.8 kB / 0.7797 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.3361, allocations: 7.938 kB / 0.7797 GB, free: 15.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.293e-05/0.3361, allocations: 7.984 kB / 0.7798 GB, free: 15.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.3362, allocations: 16.86 kB / 0.7798 GB, free: 15.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3362, allocations: 0 / 0.7798 GB, free: 15.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.3363, allocations: 41.64 kB / 0.7798 GB, free: 15.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3363, allocations: 5.094 kB / 0.7798 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.3363, allocations: 7.984 kB / 0.7798 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3363, allocations: 0 / 0.7798 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.3363, allocations: 0 / 0.7798 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3363, allocations: 0 / 0.7798 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.3364, allocations: 7.906 kB / 0.7798 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3364, allocations: 4.062 kB / 0.7798 GB, free: 15.3 MB / 458.7 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 5.602e-05/0.3364, allocations: 189.6 kB / 0.78 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.3365, allocations: 112.9 kB / 0.7801 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.3365, allocations: 112.8 kB / 0.7802 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.3365, allocations: 180.2 kB / 0.7804 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.506e-05/0.3366, allocations: 180.3 kB / 0.7806 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.3366, allocations: 184.2 kB / 0.7807 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3367, allocations: 409.2 kB / 0.7811 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.3368, allocations: 108.9 kB / 0.7812 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.3368, allocations: 104.9 kB / 0.7813 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.3368, allocations: 188.2 kB / 0.7815 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3368, allocations: 184.2 kB / 0.7817 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.501e-05/0.3369, allocations: 176.5 kB / 0.7819 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.452e-05/0.3369, allocations: 184.3 kB / 0.782 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.3371, allocations: 0.8686 MB / 0.7829 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3371, allocations: 182.1 kB / 0.7831 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3372, allocations: 184.2 kB / 0.7832 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.3372, allocations: 109 kB / 0.7833 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.3373, allocations: 176.3 kB / 0.7835 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3373, allocations: 104.9 kB / 0.7836 GB, free: 11.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.3373, allocations: 100.5 kB / 0.7837 GB, free: 11.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 0 / 0.7837 GB, free: 11.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007255/0.3381, allocations: 291.7 kB / 0.784 GB, free: 10.78 MB / 458.7 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.0009289/0.339, allocations: 0.5491 MB / 0.7845 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.3391, allocations: 41.7 kB / 0.7846 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3391, allocations: 0 / 0.7846 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.3391, allocations: 0 / 0.7846 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3394, allocations: 0.537 MB / 0.7851 GB, free: 9.645 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.3397, allocations: 234 kB / 0.7853 GB, free: 9.387 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3398, allocations: 0.6809 MB / 0.786 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.18e-05/0.3398, allocations: 0 / 0.786 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-06/0.3398, allocations: 15.42 kB / 0.786 GB, free: 8.664 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3398, allocations: 0 / 0.786 GB, free: 8.664 MB / 458.7 MB Notification: Performance of Templates: time 0.007253/0.3471, allocations: 5.595 MB / 0.7915 GB, free: 3.117 MB / 458.7 MB 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)