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.001402/0.001402, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001537/0.001538, allocations: 196 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002242/0.002242, allocations: 286 kB / 291.4 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.9469/0.9469, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 98.16 kB / 0.5967 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.148, allocations: 86.99 MB / 0.6817 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002347/0.1504, allocations: 1.414 MB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.1542, allocations: 2.842 MB / 0.6858 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.1542, allocations: 3.938 kB / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1543, allocations: 0 / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.1544, allocations: 23.84 kB / 0.6859 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.1576, allocations: 1.548 MB / 0.6874 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.1577, allocations: 43.8 kB / 0.6874 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.1577, allocations: 3.984 kB / 0.6874 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.267e-05/0.1578, allocations: 19.88 kB / 0.6874 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.1578, allocations: 15.88 kB / 0.6874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1578, allocations: 0 / 0.6874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2581/0.4159, allocations: 1.476 MB / 0.6889 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.416, allocations: 8.797 kB / 0.6889 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.416, allocations: 19.98 kB / 0.6889 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.418, allocations: 1.075 MB / 0.69 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4181, allocations: 0 / 0.69 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4181, allocations: 2.312 kB / 0.69 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4181, allocations: 0 / 0.69 GB, free: 13.49 MB / 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.0005086/0.4186, allocations: 0.5114 MB / 0.6905 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4186, allocations: 10.53 kB / 0.6905 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.4187, allocations: 85.84 kB / 0.6906 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.4188, allocations: 247.5 kB / 0.6908 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4188, allocations: 151.4 kB / 0.6909 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.4188, allocations: 153.8 kB / 0.6911 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.662e-05/0.4189, allocations: 111.3 kB / 0.6912 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4189, allocations: 76.92 kB / 0.6913 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.4189, allocations: 154.8 kB / 0.6914 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.4189, allocations: 154.8 kB / 0.6916 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.419, allocations: 156 kB / 0.6917 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.4191, allocations: 463 kB / 0.6922 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.4192, allocations: 172.1 kB / 0.6923 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.4192, allocations: 81.34 kB / 0.6924 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.4192, allocations: 75.78 kB / 0.6925 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4193, allocations: 116 kB / 0.6926 GB, free: 10.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.4193, allocations: 4.688 kB / 0.6926 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.254e-05/0.4193, allocations: 33.64 kB / 0.6926 GB, free: 10.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.4194, allocations: 127.9 kB / 0.6927 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4195, allocations: 138.8 kB / 0.6929 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.4195, allocations: 25.7 kB / 0.6929 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.4195, allocations: 92.08 kB / 0.693 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.4195, allocations: 0 / 0.693 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.4196, allocations: 19.38 kB / 0.693 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.4196, allocations: 316.2 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.4196, allocations: 7.219 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.4197, allocations: 4.484 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.4197, allocations: 14.7 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4197, allocations: 1.094 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/0.4198, allocations: 54.72 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4199, allocations: 5.734 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4199, allocations: 2.375 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4199, allocations: 4.312 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.4199, allocations: 0 / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.4199, allocations: 5.594 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.4199, allocations: 0.75 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4199, allocations: 3.469 kB / 0.6934 GB, free: 10.07 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 4.924e-05/0.42, allocations: 186.1 kB / 0.6936 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.42, allocations: 118 kB / 0.6937 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.4201, allocations: 111.2 kB / 0.6938 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.4201, allocations: 181.5 kB / 0.694 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.4201, allocations: 179.3 kB / 0.6941 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.4202, allocations: 181.7 kB / 0.6943 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.4203, allocations: 413.2 kB / 0.6947 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.4203, allocations: 106.1 kB / 0.6948 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.4203, allocations: 106.9 kB / 0.6949 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/0.4204, allocations: 183.7 kB / 0.6951 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4204, allocations: 183.9 kB / 0.6953 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-05/0.4204, allocations: 182.6 kB / 0.6954 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.391e-05/0.4204, allocations: 179.4 kB / 0.6956 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.266e-05/0.4205, allocations: 308 kB / 0.6959 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.4206, allocations: 191.8 kB / 0.6961 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4206, allocations: 184.5 kB / 0.6963 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.4206, allocations: 103.2 kB / 0.6964 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.4207, allocations: 184 kB / 0.6965 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4207, allocations: 106.1 kB / 0.6966 GB, free: 6.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.4207, allocations: 101.5 kB / 0.6967 GB, free: 6.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4208, allocations: 0 / 0.6967 GB, free: 6.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007543/0.4215, allocations: 275.4 kB / 0.697 GB, free: 6.523 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.0009392/0.4225, allocations: 0.5189 MB / 0.6975 GB, free: 6.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.802e-05/0.4226, allocations: 42.91 kB / 0.6975 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4226, allocations: 128 / 0.6975 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.4226, allocations: 4.562 kB / 0.6975 GB, free: 6.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.4229, allocations: 470 kB / 0.698 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.4231, allocations: 235.9 kB / 0.6982 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.461e-05/0.4232, allocations: 0.6901 MB / 0.6989 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.179e-05/0.4233, allocations: 1.312 kB / 0.6989 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-06/0.4233, allocations: 8.75 kB / 0.6989 GB, free: 4.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4233, allocations: 0 / 0.6989 GB, free: 4.91 MB / 494.1 MB Notification: Performance of Templates: time 0.0101/0.4334, allocations: 5.455 MB / 0.7042 GB, free: 4.559 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)