Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00171/0.00171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002586/0.002586, allocations: 190.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.1 MB, free: 4.93 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 74.25 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2598, allocations: 114.5 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002896/0.2628, allocations: 1.508 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.2671, allocations: 2.959 MB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.2672, allocations: 0 / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.2672, allocations: 3.938 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.2673, allocations: 19.84 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.2711, allocations: 1.53 MB / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.2712, allocations: 47.67 kB / 0.7888 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.2712, allocations: 4 kB / 0.7888 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.2713, allocations: 19.92 kB / 0.7889 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.731e-05/0.2713, allocations: 15.92 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2713, allocations: 0 / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.2733, allocations: 1.474 MB / 0.7903 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.2733, allocations: 15.92 kB / 0.7903 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.2733, allocations: 15.88 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.2748, allocations: 1.103 MB / 0.7914 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2748, allocations: 0 / 0.7914 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2748, allocations: 0 / 0.7914 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2748, allocations: 0 / 0.7914 GB, free: 5.117 MB / 0.6075 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.0007253/0.2755, allocations: 0.5223 MB / 0.7919 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2756, allocations: 11.98 kB / 0.7919 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.2757, allocations: 80.22 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2758, allocations: 259.5 kB / 0.7923 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.2759, allocations: 158.8 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.2759, allocations: 150.9 kB / 0.7926 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.276, allocations: 109.1 kB / 0.7927 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.276, allocations: 79.27 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2761, allocations: 150.6 kB / 0.7929 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.2762, allocations: 154.6 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.2762, allocations: 150.6 kB / 0.7932 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.2765, allocations: 465.9 kB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.2766, allocations: 177.1 kB / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.2767, allocations: 84.14 kB / 0.7939 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.2767, allocations: 79.28 kB / 0.7939 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.2767, allocations: 109.8 kB / 0.7941 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.2767, allocations: 0 / 0.7941 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.2768, allocations: 37.55 kB / 0.7941 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.2769, allocations: 126.7 kB / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.277, allocations: 140.3 kB / 0.7943 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2771, allocations: 25.7 kB / 0.7944 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.2771, allocations: 92.12 kB / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2771, allocations: 0 / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.2772, allocations: 17.72 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2774, allocations: 322.8 kB / 0.7948 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.2774, allocations: 0 / 0.7948 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.2774, allocations: 4 kB / 0.7948 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.2775, allocations: 24.95 kB / 0.7948 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2775, allocations: 0 / 0.7948 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.2776, allocations: 61.47 kB / 0.7949 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2776, allocations: 4 kB / 0.7949 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.2776, allocations: 4 kB / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2777, allocations: 0 / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.2777, allocations: 0 / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2777, allocations: 0 / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.2777, allocations: 0 / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2777, allocations: 4 kB / 0.7949 GB, free: 1.344 MB / 0.6075 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 8.658e-05/0.2778, allocations: 189.2 kB / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.2779, allocations: 116.8 kB / 0.7952 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.2779, allocations: 112.6 kB / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/0.278, allocations: 176.3 kB / 0.7954 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000122/0.2781, allocations: 184.2 kB / 0.7956 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-05/0.2782, allocations: 184.3 kB / 0.7958 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.2785, allocations: 413.2 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.2786, allocations: 108.9 kB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.2786, allocations: 101 kB / 0.7964 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.981e-05/0.2787, allocations: 184.1 kB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.2788, allocations: 188.2 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.782e-05/0.2788, allocations: 180.3 kB / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-05/0.2789, allocations: 184.2 kB / 0.7971 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.279, allocations: 311.7 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.2791, allocations: 190 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.2792, allocations: 180.3 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.2793, allocations: 108.9 kB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.2794, allocations: 176.3 kB / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.2794, allocations: 112.9 kB / 0.7981 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.364e-05/0.2795, allocations: 103.2 kB / 0.7982 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2795, allocations: 0 / 0.7982 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007686/0.2803, allocations: 287.8 kB / 0.7985 GB, free: 13.41 MB / 0.6231 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.001138/0.2814, allocations: 0.5465 MB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.857e-05/0.2815, allocations: 37.7 kB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2815, allocations: 4.062 kB / 0.7991 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.2815, allocations: 0 / 0.7991 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.282, allocations: 479.5 kB / 0.7995 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.2823, allocations: 255.9 kB / 0.7998 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2826, allocations: 0.6846 MB / 0.8004 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.218e-05/0.2826, allocations: 0 / 0.8004 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/0.2826, allocations: 11.44 kB / 0.8004 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.2826, allocations: 0 / 0.8004 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.009237/0.2919, allocations: 5.746 MB / 0.8061 GB, free: 5.648 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)