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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001267/0.001267, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.239/1.239, 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.002116/0.002116, allocations: 292.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8908/0.8908, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 95.06 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 86.97 MB / 0.6817 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002267/0.1556, allocations: 1.436 MB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.1594, allocations: 2.888 MB / 0.6859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.1595, allocations: 0 / 0.6859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.1595, allocations: 11.92 kB / 0.6859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.1596, allocations: 11.86 kB / 0.6859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.1628, allocations: 1.581 MB / 0.6874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.16e-05/0.1629, allocations: 47.72 kB / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.137e-05/0.163, allocations: 7.938 kB / 0.6875 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.163, allocations: 15.92 kB / 0.6875 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.163, allocations: 15.88 kB / 0.6875 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.163, allocations: 0 / 0.6875 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2437/0.4067, allocations: 1.536 MB / 0.689 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.4068, allocations: 6.266 kB / 0.689 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.4068, allocations: 15.94 kB / 0.689 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.4091, allocations: 1.098 MB / 0.6901 GB, free: 13.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4092, allocations: 1.188 kB / 0.6901 GB, free: 13.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4092, allocations: 0 / 0.6901 GB, free: 13.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4092, allocations: 3.375 kB / 0.6901 GB, free: 13.46 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.0007652/0.4099, allocations: 0.5152 MB / 0.6906 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.41, allocations: 10.16 kB / 0.6906 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.41, allocations: 83.06 kB / 0.6907 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.4101, allocations: 253.2 kB / 0.691 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4102, allocations: 155 kB / 0.6911 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.4102, allocations: 155 kB / 0.6913 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.541e-05/0.4102, allocations: 111.4 kB / 0.6914 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4102, allocations: 75.98 kB / 0.6914 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.4103, allocations: 151.5 kB / 0.6916 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.4103, allocations: 155.6 kB / 0.6917 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.4103, allocations: 154.8 kB / 0.6919 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.4105, allocations: 465 kB / 0.6923 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.882e-05/0.4105, allocations: 170.4 kB / 0.6925 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.4106, allocations: 82.77 kB / 0.6926 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.4106, allocations: 75.28 kB / 0.6926 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.4106, allocations: 116 kB / 0.6927 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4106, allocations: 0.5 kB / 0.6927 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.154e-05/0.4107, allocations: 33.25 kB / 0.6928 GB, free: 10.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.4107, allocations: 132.4 kB / 0.6929 GB, free: 10.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4108, allocations: 131.9 kB / 0.693 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.4108, allocations: 25.7 kB / 0.693 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.4109, allocations: 96.12 kB / 0.6931 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.4109, allocations: 1.031 kB / 0.6931 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.4109, allocations: 17.72 kB / 0.6932 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.4109, allocations: 317.2 kB / 0.6935 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.411, allocations: 7.641 kB / 0.6935 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.411, allocations: 3.5 kB / 0.6935 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.411, allocations: 17 kB / 0.6935 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.411, allocations: 0 / 0.6935 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001075/0.4111, allocations: 63.94 kB / 0.6935 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4112, allocations: 5.125 kB / 0.6936 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.4112, allocations: 8.062 kB / 0.6936 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4112, allocations: 0 / 0.6936 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4112, allocations: 0.9375 kB / 0.6936 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4112, allocations: 2.062 kB / 0.6936 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.4112, allocations: 0.5938 kB / 0.6936 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.4113, allocations: 1.25 kB / 0.6936 GB, free: 10.03 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.532e-05/0.4113, allocations: 185.5 kB / 0.6937 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.4113, allocations: 120.4 kB / 0.6939 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.4114, allocations: 110.9 kB / 0.694 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4114, allocations: 178.3 kB / 0.6941 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.4114, allocations: 183.1 kB / 0.6943 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.4114, allocations: 181.3 kB / 0.6945 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.4116, allocations: 413.9 kB / 0.6949 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4116, allocations: 105 kB / 0.695 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.4116, allocations: 111.9 kB / 0.6951 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.4116, allocations: 179.9 kB / 0.6953 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.4117, allocations: 184.4 kB / 0.6954 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.815e-05/0.4117, allocations: 178.1 kB / 0.6956 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-05/0.4117, allocations: 181.6 kB / 0.6958 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.643e-05/0.4118, allocations: 307.1 kB / 0.6961 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.4118, allocations: 196.4 kB / 0.6963 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.4118, allocations: 180.8 kB / 0.6964 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.4119, allocations: 107.3 kB / 0.6965 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.4119, allocations: 183.2 kB / 0.6967 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4119, allocations: 105.9 kB / 0.6968 GB, free: 6.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.412, allocations: 101.9 kB / 0.6969 GB, free: 6.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.412, allocations: 0.7656 kB / 0.6969 GB, free: 6.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009185/0.4129, allocations: 279.2 kB / 0.6972 GB, free: 6.48 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.0009705/0.4139, allocations: 0.5403 MB / 0.6977 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.238e-05/0.414, allocations: 39.2 kB / 0.6977 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.414, allocations: 0 / 0.6977 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.414, allocations: 0.7188 kB / 0.6977 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.4143, allocations: 474.4 kB / 0.6982 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.4145, allocations: 249.1 kB / 0.6984 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.4146, allocations: 0.6827 MB / 0.6991 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.145e-05/0.4147, allocations: 1.031 kB / 0.6991 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-06/0.4147, allocations: 9.469 kB / 0.6991 GB, free: 4.871 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4147, allocations: 0 / 0.6991 GB, free: 4.871 MB / 494.1 MB Notification: Performance of Templates: time 0.009769/0.4245, allocations: 5.617 MB / 0.7046 GB, free: 4.512 MB / 494.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)