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.004944/0.004944, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001202/0.001202, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 279.2 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 96.19 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1635, allocations: 86.97 MB / 0.7665 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002409/0.1659, allocations: 1.423 MB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004105/0.1701, allocations: 2.849 MB / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.1701, allocations: 0 / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.1702, allocations: 11.92 kB / 0.7706 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.1702, allocations: 11.86 kB / 0.7707 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.174, allocations: 1.578 MB / 0.7722 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.1741, allocations: 43.67 kB / 0.7722 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1741, allocations: 4 kB / 0.7722 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.1741, allocations: 11.94 kB / 0.7723 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.93e-05/0.1742, allocations: 19.92 kB / 0.7723 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1742, allocations: 0 / 0.7723 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.1763, allocations: 1.482 MB / 0.7737 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1763, allocations: 11.92 kB / 0.7737 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.1764, allocations: 19.88 kB / 0.7738 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3217/0.498, allocations: 1.063 MB / 0.7748 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4981, allocations: 0.75 kB / 0.7748 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4981, allocations: 0 / 0.7748 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4981, allocations: 1.203 kB / 0.7748 GB, free: 10.64 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.0006828/0.4988, allocations: 0.5137 MB / 0.7753 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4988, allocations: 9.188 kB / 0.7753 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.4989, allocations: 80.17 kB / 0.7754 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.499, allocations: 251.5 kB / 0.7756 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.499, allocations: 152.8 kB / 0.7758 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.499, allocations: 155.6 kB / 0.7759 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.082e-05/0.4991, allocations: 108.6 kB / 0.776 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4991, allocations: 78.98 kB / 0.7761 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4991, allocations: 156.5 kB / 0.7762 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4992, allocations: 152.2 kB / 0.7764 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.4992, allocations: 155 kB / 0.7765 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.4994, allocations: 464.3 kB / 0.777 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.4994, allocations: 167 kB / 0.7771 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.4995, allocations: 81.58 kB / 0.7772 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.4995, allocations: 78.47 kB / 0.7773 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4995, allocations: 113.7 kB / 0.7774 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.4995, allocations: 0.5625 kB / 0.7774 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.64e-05/0.4996, allocations: 31.66 kB / 0.7774 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4996, allocations: 128.7 kB / 0.7776 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4997, allocations: 137.5 kB / 0.7777 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.4998, allocations: 26.42 kB / 0.7777 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.4998, allocations: 92.42 kB / 0.7778 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.4998, allocations: 0 / 0.7778 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.4998, allocations: 16.41 kB / 0.7778 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.4999, allocations: 321.9 kB / 0.7781 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.4999, allocations: 2.156 kB / 0.7781 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.4999, allocations: 5.719 kB / 0.7781 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.5, allocations: 15.69 kB / 0.7781 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5, allocations: 0 / 0.7781 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.5001, allocations: 56.61 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5001, allocations: 7.812 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.5001, allocations: 6.188 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5002, allocations: 0.5938 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-06/0.5002, allocations: 1.312 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5002, allocations: 1.562 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.5002, allocations: 2.062 kB / 0.7782 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5002, allocations: 5.359 kB / 0.7782 GB, free: 7.262 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 5.327e-05/0.5003, allocations: 185.5 kB / 0.7784 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.5003, allocations: 112.6 kB / 0.7785 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.5004, allocations: 117 kB / 0.7786 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.5004, allocations: 178.5 kB / 0.7788 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/0.5004, allocations: 182.8 kB / 0.779 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.5004, allocations: 179 kB / 0.7791 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5006, allocations: 417.7 kB / 0.7795 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5006, allocations: 104 kB / 0.7796 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.5007, allocations: 110.4 kB / 0.7797 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.675e-05/0.5008, allocations: 184.1 kB / 0.7799 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.5008, allocations: 180.7 kB / 0.7801 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.634e-05/0.5009, allocations: 180.5 kB / 0.7803 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.716e-05/0.501, allocations: 181.2 kB / 0.7804 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.5011, allocations: 307.9 kB / 0.7807 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.5012, allocations: 191.2 kB / 0.7809 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.5012, allocations: 181.6 kB / 0.7811 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.5013, allocations: 106.4 kB / 0.7812 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.5014, allocations: 184.5 kB / 0.7814 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.5014, allocations: 103.2 kB / 0.7815 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.5015, allocations: 99.38 kB / 0.7815 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5015, allocations: 0 / 0.7815 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008162/0.5023, allocations: 280 kB / 0.7818 GB, free: 19.72 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.001015/0.5033, allocations: 0.5238 MB / 0.7823 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.5034, allocations: 37.88 kB / 0.7824 GB, free: 19.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5034, allocations: 0 / 0.7824 GB, free: 19.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.5034, allocations: 0.9688 kB / 0.7824 GB, free: 19.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.5038, allocations: 459.4 kB / 0.7828 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.5041, allocations: 247.8 kB / 0.783 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.5044, allocations: 0.6894 MB / 0.7837 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.218e-05/0.5044, allocations: 1.281 kB / 0.7837 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.5044, allocations: 8.781 kB / 0.7837 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.5044, allocations: 0 / 0.7837 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.009925/0.5143, allocations: 5.441 MB / 0.789 GB, free: 17.77 MB / 0.5762 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)