Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.862/1.862, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 187.6 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.31 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8.906 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 106.3 MB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001608/0.2603, allocations: 1.145 MB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.2638, allocations: 2.758 MB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.2638, allocations: 0 / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.2639, allocations: 4 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.2639, allocations: 15.84 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.003085/0.267, allocations: 1.323 MB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.2671, allocations: 39.73 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.703e-05/0.2672, allocations: 8 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.2672, allocations: 11.94 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.2672, allocations: 19.86 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2673, allocations: 0 / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.2689, allocations: 1.264 MB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2689, allocations: 7.938 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.269, allocations: 29.7 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.2698, allocations: 0.7216 MB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2698, allocations: 4 kB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2698, allocations: 4 kB / 0.9081 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2698, allocations: 0 / 0.9081 GB, free: 56.45 MB / 0.6042 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.0005257/0.2703, allocations: 0.5105 MB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2704, allocations: 8.031 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.2704, allocations: 87.23 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2706, allocations: 246.2 kB / 0.9089 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.2706, allocations: 154.5 kB / 0.909 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.2706, allocations: 154.6 kB / 0.9092 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.275e-05/0.2707, allocations: 101 kB / 0.9093 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2707, allocations: 75.28 kB / 0.9094 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.2708, allocations: 154.5 kB / 0.9095 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.2708, allocations: 150.6 kB / 0.9096 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.057e-05/0.2708, allocations: 162.5 kB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.271, allocations: 461.9 kB / 0.9102 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.105e-05/0.2711, allocations: 169.1 kB / 0.9104 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.2711, allocations: 80.14 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.2712, allocations: 79.22 kB / 0.9106 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2712, allocations: 109.8 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2712, allocations: 0 / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.295e-05/0.2713, allocations: 33.61 kB / 0.9107 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2713, allocations: 126.7 kB / 0.9108 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2715, allocations: 138 kB / 0.9109 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.2715, allocations: 29.7 kB / 0.911 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.2715, allocations: 92.12 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2715, allocations: 4 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.2715, allocations: 0 / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.2716, allocations: 318.8 kB / 0.9114 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.2716, allocations: 8 kB / 0.9114 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.2717, allocations: 3.938 kB / 0.9114 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.2717, allocations: 12 kB / 0.9114 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2717, allocations: 0 / 0.9114 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001135/0.2718, allocations: 45.61 kB / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2718, allocations: 11.98 kB / 0.9114 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.2719, allocations: 4.062 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2719, allocations: 4 kB / 0.9115 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.2719, allocations: 3.938 kB / 0.9115 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2719, allocations: 3.984 kB / 0.9115 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.2719, allocations: 4 kB / 0.9115 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.272, allocations: 11.89 kB / 0.9115 GB, free: 52.73 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.955e-05/0.2721, allocations: 187.3 kB / 0.9117 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.2721, allocations: 108.8 kB / 0.9118 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.2722, allocations: 120.8 kB / 0.9119 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-05/0.2722, allocations: 180.2 kB / 0.912 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-05/0.2722, allocations: 180.2 kB / 0.9122 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/0.2723, allocations: 184.3 kB / 0.9124 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2725, allocations: 421.1 kB / 0.9128 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.2725, allocations: 109 kB / 0.9129 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.2725, allocations: 104.9 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-05/0.2725, allocations: 176.3 kB / 0.9132 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.2726, allocations: 176.3 kB / 0.9133 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-05/0.2726, allocations: 184.2 kB / 0.9135 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.97e-05/0.2727, allocations: 180.2 kB / 0.9137 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.2727, allocations: 315.6 kB / 0.914 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.2728, allocations: 186 kB / 0.9142 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.2728, allocations: 184.5 kB / 0.9143 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.265e-05/0.2729, allocations: 105 kB / 0.9144 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.2729, allocations: 192.2 kB / 0.9146 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.273, allocations: 101 kB / 0.9147 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.273, allocations: 97.77 kB / 0.9148 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.273, allocations: 0 / 0.9148 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006009/0.2736, allocations: 283.8 kB / 0.9151 GB, free: 48.81 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009319/0.2746, allocations: 0.5181 MB / 0.9156 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.2747, allocations: 41.7 kB / 0.9156 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2747, allocations: 0 / 0.9156 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.2747, allocations: 3.938 kB / 0.9156 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.275, allocations: 0.5341 MB / 0.9162 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.2753, allocations: 277.9 kB / 0.9164 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2755, allocations: 0.6887 MB / 0.9171 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.2755, allocations: 15.31 kB / 0.9171 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2755, allocations: 0 / 0.9171 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.006372/0.2819, allocations: 4.795 MB / 0.9218 GB, free: 41.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)