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.001281/0.001281, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001236/0.001237, allocations: 198.8 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 284.1 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 89.08 kB / 0.5954 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1763, allocations: 86.98 MB / 0.6803 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002727/0.179, allocations: 1.495 MB / 0.6818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.183, allocations: 2.893 MB / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.183, allocations: 0 / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.183, allocations: 3.938 kB / 0.6846 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.1831, allocations: 23.84 kB / 0.6846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.1865, allocations: 1.452 MB / 0.6861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.1866, allocations: 39.8 kB / 0.6861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.1866, allocations: 3.938 kB / 0.6861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.1866, allocations: 11.94 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/0.1867, allocations: 31.84 kB / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1867, allocations: 4 kB / 0.6861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.1885, allocations: 1.451 MB / 0.6876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1885, allocations: 4 kB / 0.6876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.1885, allocations: 19.86 kB / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008606/0.1894, allocations: 0.7525 MB / 0.6883 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1894, allocations: 0 / 0.6883 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1894, allocations: 0 / 0.6883 GB, free: 324 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1894, allocations: 4 kB / 0.6883 GB, free: 320 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.3027/0.4922, allocations: 0.517 MB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4922, allocations: 10.41 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.4923, allocations: 82.72 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.4924, allocations: 248.6 kB / 0.6892 GB, free: 17.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4924, allocations: 155.5 kB / 0.6893 GB, free: 17.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.4925, allocations: 150.9 kB / 0.6894 GB, free: 17.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.429e-05/0.4925, allocations: 103.9 kB / 0.6895 GB, free: 17.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4925, allocations: 76.22 kB / 0.6896 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.4926, allocations: 163.4 kB / 0.6898 GB, free: 17.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.4926, allocations: 151.3 kB / 0.6899 GB, free: 16.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.4926, allocations: 152.7 kB / 0.6901 GB, free: 16.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.4929, allocations: 464.7 kB / 0.6905 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.947e-05/0.4929, allocations: 170.5 kB / 0.6907 GB, free: 16.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.4929, allocations: 80.8 kB / 0.6907 GB, free: 16.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.493, allocations: 77.06 kB / 0.6908 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.493, allocations: 107.5 kB / 0.6909 GB, free: 15.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.493, allocations: 5.578 kB / 0.6909 GB, free: 15.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.509e-05/0.4931, allocations: 43.84 kB / 0.691 GB, free: 15.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.4931, allocations: 127.2 kB / 0.6911 GB, free: 15.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4932, allocations: 134.5 kB / 0.6912 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.4933, allocations: 26.67 kB / 0.6912 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.4933, allocations: 94.67 kB / 0.6913 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4933, allocations: 1.688 kB / 0.6913 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.4933, allocations: 19.55 kB / 0.6914 GB, free: 15.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.4934, allocations: 319.2 kB / 0.6917 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.4934, allocations: 8.922 kB / 0.6917 GB, free: 15.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.4935, allocations: 3.625 kB / 0.6917 GB, free: 15.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.4935, allocations: 15.97 kB / 0.6917 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4935, allocations: 3.781 kB / 0.6917 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001255/0.4936, allocations: 61.42 kB / 0.6918 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4937, allocations: 8.938 kB / 0.6918 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4937, allocations: 3.797 kB / 0.6918 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4937, allocations: 0.9688 kB / 0.6918 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.4937, allocations: 0 / 0.6918 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4937, allocations: 0.5312 kB / 0.6918 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.4938, allocations: 2.906 kB / 0.6918 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4938, allocations: 1.5 kB / 0.6918 GB, free: 15.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 6.208e-05/0.4938, allocations: 188.5 kB / 0.6919 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.4939, allocations: 115.5 kB / 0.6921 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.4939, allocations: 112.6 kB / 0.6922 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.4939, allocations: 178.2 kB / 0.6923 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/0.494, allocations: 177.7 kB / 0.6925 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.494, allocations: 191.5 kB / 0.6927 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.4942, allocations: 410.7 kB / 0.6931 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.4942, allocations: 109.4 kB / 0.6932 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.4942, allocations: 102.5 kB / 0.6933 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-05/0.4942, allocations: 185.4 kB / 0.6935 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.4943, allocations: 181.4 kB / 0.6936 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.632e-05/0.4943, allocations: 179 kB / 0.6938 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.552e-05/0.4943, allocations: 185.1 kB / 0.694 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.4944, allocations: 305.6 kB / 0.6943 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.4944, allocations: 188.5 kB / 0.6944 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.4945, allocations: 185.4 kB / 0.6946 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.4946, allocations: 106.6 kB / 0.6947 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4946, allocations: 181 kB / 0.6949 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.4946, allocations: 103 kB / 0.695 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.4947, allocations: 109.7 kB / 0.6951 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.4947, allocations: 0 / 0.6951 GB, free: 11.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000948/0.4956, allocations: 283.1 kB / 0.6954 GB, free: 11.54 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.001117/0.4968, allocations: 0.5364 MB / 0.6959 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.793e-05/0.4969, allocations: 42.95 kB / 0.6959 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4969, allocations: 0 / 0.6959 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.4969, allocations: 0.9062 kB / 0.6959 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4972, allocations: 469.3 kB / 0.6964 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.4975, allocations: 278.5 kB / 0.6967 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.4977, allocations: 0.6842 MB / 0.6973 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.4977, allocations: 8.406 kB / 0.6973 GB, free: 9.922 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4977, allocations: 0 / 0.6973 GB, free: 9.922 MB / 494.1 MB Notification: Performance of Templates: time 0.01117/0.5089, allocations: 4.751 MB / 0.702 GB, free: 9.492 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)