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.427/1.427, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001054/0.001054, allocations: 173.2 kB / 326.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205 MB / 0.5766 GB, free: 21 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.000823/0.000823, allocations: 96.03 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 11.28 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.0015/0.24, allocations: 1.173 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003797/0.2438, allocations: 3.108 MB / 0.901 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.2439, allocations: 0 / 0.901 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.244, allocations: 7.938 kB / 0.901 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.244, allocations: 15.84 kB / 0.901 GB, free: 63.83 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.003437/0.2475, allocations: 1.463 MB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.2475, allocations: 47.69 kB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.2476, allocations: 7.984 kB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.2476, allocations: 7.938 kB / 0.9025 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.2477, allocations: 23.86 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2477, allocations: 4 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.2496, allocations: 1.478 MB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.2496, allocations: 0 / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.2497, allocations: 23.86 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.2506, allocations: 0.7915 MB / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2506, allocations: 8 kB / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2506, allocations: 0 / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2506, allocations: 0 / 0.9048 GB, free: 60 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.0004873/0.2511, allocations: 0.5083 MB / 0.9053 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2512, allocations: 12.03 kB / 0.9053 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.2512, allocations: 76.22 kB / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2513, allocations: 255.5 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.2514, allocations: 158.9 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2514, allocations: 150.9 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.719e-05/0.2515, allocations: 109 kB / 0.906 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2515, allocations: 79.22 kB / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.2515, allocations: 150.6 kB / 0.9062 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.2515, allocations: 150.6 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.2516, allocations: 154.6 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.2518, allocations: 469.8 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.2518, allocations: 169.1 kB / 0.9071 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.2519, allocations: 88.08 kB / 0.9072 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2519, allocations: 79.28 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2519, allocations: 109.8 kB / 0.9074 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.2519, allocations: 0 / 0.9074 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.606e-05/0.252, allocations: 33.69 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.252, allocations: 126.7 kB / 0.9075 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2521, allocations: 136.4 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.2522, allocations: 33.64 kB / 0.9077 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.2522, allocations: 88.14 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.2522, allocations: 0 / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.2522, allocations: 21.7 kB / 0.9078 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.2523, allocations: 310.8 kB / 0.9081 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.2523, allocations: 11.94 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.2523, allocations: 4 kB / 0.9081 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.2524, allocations: 16.84 kB / 0.9081 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2524, allocations: 0 / 0.9081 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.2525, allocations: 53.55 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2525, allocations: 8.062 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.2526, allocations: 4 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2526, allocations: 0 / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.2526, allocations: 0 / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2526, allocations: 4 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.2526, allocations: 0 / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2526, allocations: 3.984 kB / 0.9082 GB, free: 56.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.2527, allocations: 191.2 kB / 0.9084 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2527, allocations: 116.8 kB / 0.9085 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.2528, allocations: 108.9 kB / 0.9086 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.2528, allocations: 180.2 kB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/0.2528, allocations: 180.3 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.2529, allocations: 188.2 kB / 0.9091 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.253, allocations: 413.2 kB / 0.9095 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.253, allocations: 108.9 kB / 0.9096 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.2531, allocations: 108.9 kB / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/0.2531, allocations: 176.3 kB / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2531, allocations: 180.4 kB / 0.9101 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-05/0.2532, allocations: 192.2 kB / 0.9102 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-05/0.2532, allocations: 184.3 kB / 0.9104 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.419e-05/0.2533, allocations: 303.8 kB / 0.9107 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2533, allocations: 197.9 kB / 0.9109 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.2534, allocations: 176.3 kB / 0.9111 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.2534, allocations: 101 kB / 0.9112 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2535, allocations: 188.2 kB / 0.9113 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2535, allocations: 105 kB / 0.9114 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.2535, allocations: 103.2 kB / 0.9115 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2535, allocations: 0 / 0.9115 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006231/0.2542, allocations: 283.8 kB / 0.9118 GB, free: 52.32 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 (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.001015/0.2552, allocations: 0.5661 MB / 0.9124 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.147e-05/0.2553, allocations: 49.62 kB / 0.9124 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2553, allocations: 0 / 0.9124 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.2553, allocations: 0 / 0.9124 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2556, allocations: 0.5302 MB / 0.9129 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.2559, allocations: 275.4 kB / 0.9132 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.256, allocations: 0.6809 MB / 0.9138 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-06/0.256, allocations: 7.438 kB / 0.9139 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2561, allocations: 0 / 0.9139 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.007116/0.2632, allocations: 4.818 MB / 0.9186 GB, free: 45.34 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)