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.001174/0.001173, allocations: 105.6 kB / 15.98 MB, free: 6.359 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.001191/0.001191, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 276.1 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9067/0.9067, allocations: 169.2 MB / 0.4985 GB, free: 4.672 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 97.3 kB / 0.5954 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1963, allocations: 86.98 MB / 0.6803 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002648/0.199, allocations: 1.475 MB / 0.6818 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.2032, allocations: 2.85 MB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.2032, allocations: 3.938 kB / 0.6846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.2032, allocations: 0 / 0.6846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.2033, allocations: 11.86 kB / 0.6846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.207, allocations: 1.439 MB / 0.686 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.2071, allocations: 39.73 kB / 0.686 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.2071, allocations: 4 kB / 0.686 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.2072, allocations: 19.92 kB / 0.686 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.2072, allocations: 11.92 kB / 0.6861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.2072, allocations: 7.938 kB / 0.6861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.2091, allocations: 1.42 MB / 0.6874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2091, allocations: 7.984 kB / 0.6875 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.2091, allocations: 15.88 kB / 0.6875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.2101, allocations: 0.7448 MB / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2101, allocations: 0 / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2101, allocations: 0 / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2101, allocations: 0 / 0.6882 GB, free: 472 kB / 494.1 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.3587/0.5688, allocations: 0.5091 MB / 0.6887 GB, free: 18.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5688, allocations: 9.875 kB / 0.6887 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.5689, allocations: 79.06 kB / 0.6888 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.569, allocations: 250.8 kB / 0.689 GB, free: 17.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.5691, allocations: 158.1 kB / 0.6892 GB, free: 17.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.5691, allocations: 151.6 kB / 0.6893 GB, free: 17.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.197e-05/0.5692, allocations: 105.5 kB / 0.6894 GB, free: 17.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5692, allocations: 76.03 kB / 0.6895 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.5692, allocations: 154.5 kB / 0.6896 GB, free: 17.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.5692, allocations: 154.2 kB / 0.6898 GB, free: 16.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.5693, allocations: 154.8 kB / 0.6899 GB, free: 16.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.5695, allocations: 460.8 kB / 0.6904 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.5696, allocations: 170.5 kB / 0.6905 GB, free: 16.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.5696, allocations: 82.02 kB / 0.6906 GB, free: 16.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5696, allocations: 77.16 kB / 0.6907 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.5696, allocations: 111.2 kB / 0.6908 GB, free: 15.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.5697, allocations: 2.719 kB / 0.6908 GB, free: 15.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.695e-05/0.5697, allocations: 33.39 kB / 0.6908 GB, free: 15.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.5698, allocations: 127.9 kB / 0.6909 GB, free: 15.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.5699, allocations: 137.7 kB / 0.6911 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.57, allocations: 25.7 kB / 0.6911 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.57, allocations: 91.48 kB / 0.6912 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.57, allocations: 0 / 0.6912 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.5701, allocations: 18.83 kB / 0.6912 GB, free: 15.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.5701, allocations: 318.5 kB / 0.6915 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.5702, allocations: 10.72 kB / 0.6915 GB, free: 15.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.5702, allocations: 4.047 kB / 0.6915 GB, free: 15.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.5703, allocations: 15.28 kB / 0.6915 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5703, allocations: 0.5938 kB / 0.6915 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001541/0.5704, allocations: 50 kB / 0.6916 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5705, allocations: 12.22 kB / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.5705, allocations: 6.828 kB / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5705, allocations: 0.8125 kB / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.5705, allocations: 0 / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5705, allocations: 1.203 kB / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.5706, allocations: 6.109 kB / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5706, allocations: 1.312 kB / 0.6916 GB, free: 15.08 MB / 494.1 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 7.606e-05/0.5707, allocations: 185.1 kB / 0.6918 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.5707, allocations: 116.4 kB / 0.6919 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.5707, allocations: 112.1 kB / 0.692 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.5708, allocations: 185.4 kB / 0.6922 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/0.5708, allocations: 179.4 kB / 0.6924 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.5708, allocations: 178.3 kB / 0.6925 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.571, allocations: 421.3 kB / 0.6929 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.571, allocations: 103.6 kB / 0.693 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.571, allocations: 105.5 kB / 0.6931 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.818e-05/0.5711, allocations: 186.2 kB / 0.6933 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.5711, allocations: 181 kB / 0.6935 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-05/0.5711, allocations: 184.8 kB / 0.6937 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.443e-05/0.5712, allocations: 178.3 kB / 0.6938 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.351e-05/0.5713, allocations: 310.9 kB / 0.6941 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.5713, allocations: 184.8 kB / 0.6943 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.5713, allocations: 186.7 kB / 0.6945 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.5714, allocations: 103.8 kB / 0.6946 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.5714, allocations: 181.9 kB / 0.6948 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.5715, allocations: 110 kB / 0.6949 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.5715, allocations: 99.09 kB / 0.6949 GB, free: 11.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5715, allocations: 0 / 0.6949 GB, free: 11.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009871/0.5725, allocations: 280.3 kB / 0.6952 GB, free: 11.55 MB / 494.1 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.001133/0.5737, allocations: 0.5124 MB / 0.6957 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.5738, allocations: 46.06 kB / 0.6958 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5738, allocations: 0 / 0.6958 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.5738, allocations: 1 kB / 0.6958 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.5741, allocations: 460.7 kB / 0.6962 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.5744, allocations: 274.2 kB / 0.6965 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.5746, allocations: 0.6841 MB / 0.6971 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.5746, allocations: 8.719 kB / 0.6971 GB, free: 9.945 MB / 494.1 MB Notification: Performance of SimCode: time 1.81e-07/0.5746, allocations: 0 / 0.6971 GB, free: 9.945 MB / 494.1 MB Notification: Performance of Templates: time 0.01135/0.586, allocations: 4.637 MB / 0.7017 GB, free: 9.508 MB / 494.1 MB 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)