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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.825/0.825, allocations: 143.4 MB / 159.2 MB, free: 4.91 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.002108/0.002109, allocations: 187.5 kB / 191.9 MB, free: 5.699 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.38/1.38, allocations: 222.9 MB / 447.4 MB, free: 5.848 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.001044/0.001044, allocations: 107.5 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.001893/0.001893, allocations: 278.6 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 79.89 kB / 0.6886 GB, free: 3.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3308, allocations: 81.3 MB / 0.768 GB, free: 27.61 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002523/0.3333, allocations: 1.482 MB / 0.7695 GB, free: 26.13 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.3371, allocations: 3.058 MB / 0.7724 GB, free: 23.06 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.3371, allocations: 0 / 0.7724 GB, free: 23.06 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.3372, allocations: 7.922 kB / 0.7725 GB, free: 23.05 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.3373, allocations: 7.922 kB / 0.7725 GB, free: 23.05 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.3407, allocations: 1.473 MB / 0.7739 GB, free: 21.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.3408, allocations: 43.73 kB / 0.7739 GB, free: 21.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3408, allocations: 4 kB / 0.7739 GB, free: 21.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.3408, allocations: 15.92 kB / 0.774 GB, free: 21.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.3409, allocations: 23.86 kB / 0.774 GB, free: 21.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.3409, allocations: 0 / 0.774 GB, free: 21.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.3428, allocations: 1.486 MB / 0.7754 GB, free: 20.03 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.3428, allocations: 7.938 kB / 0.7754 GB, free: 20.02 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.3429, allocations: 15.88 kB / 0.7755 GB, free: 20 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.3444, allocations: 1.135 MB / 0.7766 GB, free: 18.87 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3444, allocations: 0 / 0.7766 GB, free: 18.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3444, allocations: 0 / 0.7766 GB, free: 18.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.3444, allocations: 0 / 0.7766 GB, free: 18.87 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.0005959/0.345, allocations: 0.5185 MB / 0.7771 GB, free: 18.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3451, allocations: 8.031 kB / 0.7771 GB, free: 18.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3451, allocations: 88.22 kB / 0.7772 GB, free: 18.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.3452, allocations: 259.5 kB / 0.7774 GB, free: 17.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3453, allocations: 150.9 kB / 0.7776 GB, free: 17.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3453, allocations: 154.9 kB / 0.7777 GB, free: 17.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.131e-05/0.3453, allocations: 109 kB / 0.7778 GB, free: 17.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3454, allocations: 79.28 kB / 0.7779 GB, free: 17.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3454, allocations: 150.6 kB / 0.778 GB, free: 17.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.3454, allocations: 150.6 kB / 0.7782 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.3454, allocations: 150.6 kB / 0.7783 GB, free: 16.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.3456, allocations: 465.8 kB / 0.7788 GB, free: 16.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.3457, allocations: 181 kB / 0.7789 GB, free: 16.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.3457, allocations: 84.14 kB / 0.779 GB, free: 16.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.3457, allocations: 75.28 kB / 0.7791 GB, free: 16.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3458, allocations: 109.8 kB / 0.7792 GB, free: 16.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3458, allocations: 0 / 0.7792 GB, free: 16.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.118e-05/0.3459, allocations: 37.73 kB / 0.7792 GB, free: 15.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.3459, allocations: 130.7 kB / 0.7793 GB, free: 15.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.346, allocations: 140.3 kB / 0.7795 GB, free: 15.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.346, allocations: 25.7 kB / 0.7795 GB, free: 15.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.3461, allocations: 88.14 kB / 0.7796 GB, free: 15.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.3461, allocations: 0 / 0.7796 GB, free: 15.56 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.3461, allocations: 21.7 kB / 0.7796 GB, free: 15.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.3461, allocations: 318.8 kB / 0.7799 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.3462, allocations: 8 kB / 0.7799 GB, free: 15.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.3462, allocations: 7.922 kB / 0.7799 GB, free: 15.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.3462, allocations: 16.86 kB / 0.7799 GB, free: 15.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3462, allocations: 0 / 0.7799 GB, free: 15.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.3464, allocations: 53.55 kB / 0.78 GB, free: 15.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3464, allocations: 4 kB / 0.78 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3464, allocations: 4 kB / 0.78 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3464, allocations: 0 / 0.78 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.3464, allocations: 3.938 kB / 0.78 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3464, allocations: 3.984 kB / 0.78 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.3465, allocations: 4.062 kB / 0.78 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3465, allocations: 4 kB / 0.78 GB, free: 15.09 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 6.228e-05/0.3465, allocations: 185.7 kB / 0.7802 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.3466, allocations: 112.8 kB / 0.7803 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.3466, allocations: 108.6 kB / 0.7804 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.3466, allocations: 188.2 kB / 0.7806 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.3467, allocations: 180.3 kB / 0.7808 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.3467, allocations: 184.3 kB / 0.7809 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.3469, allocations: 413.2 kB / 0.7813 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.3469, allocations: 108.9 kB / 0.7814 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.3469, allocations: 105 kB / 0.7815 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.448e-05/0.3469, allocations: 188.3 kB / 0.7817 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.347, allocations: 180.4 kB / 0.7819 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.172e-05/0.347, allocations: 180.3 kB / 0.7821 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-05/0.347, allocations: 180.2 kB / 0.7822 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.3472, allocations: 0.8648 MB / 0.7831 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.3472, allocations: 190 kB / 0.7833 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.3473, allocations: 180.2 kB / 0.7834 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.3473, allocations: 109 kB / 0.7835 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.3474, allocations: 188.1 kB / 0.7837 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3474, allocations: 105 kB / 0.7838 GB, free: 10.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.3474, allocations: 96.2 kB / 0.7839 GB, free: 10.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3474, allocations: 0 / 0.7839 GB, free: 10.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008171/0.3483, allocations: 299.7 kB / 0.7842 GB, free: 10.56 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.001143/0.3494, allocations: 0.5523 MB / 0.7847 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.306e-05/0.3495, allocations: 41.69 kB / 0.7848 GB, free: 9.961 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3495, allocations: 0 / 0.7848 GB, free: 9.961 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.3495, allocations: 3.938 kB / 0.7848 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3498, allocations: 0.5264 MB / 0.7853 GB, free: 9.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.3501, allocations: 249.8 kB / 0.7855 GB, free: 9.152 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.3502, allocations: 0.6888 MB / 0.7862 GB, free: 8.438 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.376e-05/0.3502, allocations: 3.938 kB / 0.7862 GB, free: 8.434 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-06/0.3502, allocations: 7.438 kB / 0.7862 GB, free: 8.426 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3502, allocations: 0 / 0.7862 GB, free: 8.426 MB / 458.7 MB Notification: Performance of Templates: time 0.00812/0.3584, allocations: 5.799 MB / 0.7919 GB, free: 2.676 MB / 458.7 MB 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)