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.426/1.426, allocations: 252 MB / 268 MB, free: 10.86 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.001052/0.001052, allocations: 169.8 kB / 327.6 MB, free: 2.105 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.029/2.029, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.001041/0.001041, allocations: 84.33 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8.406 kB / 0.7977 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2289, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001488/0.2304, allocations: 1.17 MB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003701/0.2342, allocations: 3.04 MB / 0.9056 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.2342, allocations: 4 kB / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.2343, allocations: 3.938 kB / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.2343, allocations: 15.91 kB / 0.9056 GB, free: 59.2 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.003262/0.2376, allocations: 1.446 MB / 0.9071 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.2377, allocations: 35.73 kB / 0.9071 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.2378, allocations: 11.98 kB / 0.9071 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.2378, allocations: 15.94 kB / 0.9071 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.2378, allocations: 23.8 kB / 0.9071 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.2378, allocations: 0 / 0.9071 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.2398, allocations: 1.478 MB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.2398, allocations: 4 kB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.2398, allocations: 45.58 kB / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009039/0.2407, allocations: 0.7957 MB / 0.9094 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2407, allocations: 0 / 0.9094 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2408, allocations: 0 / 0.9094 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2408, allocations: 4 kB / 0.9094 GB, free: 55.36 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.0004984/0.2413, allocations: 0.5146 MB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2413, allocations: 8.031 kB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.2414, allocations: 80.22 kB / 0.91 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.2415, allocations: 247.5 kB / 0.9102 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2415, allocations: 150.9 kB / 0.9104 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2415, allocations: 158.9 kB / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.121e-05/0.2416, allocations: 105.1 kB / 0.9106 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2416, allocations: 75.28 kB / 0.9107 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.2417, allocations: 158.6 kB / 0.9109 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.2417, allocations: 154.5 kB / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.2417, allocations: 154.6 kB / 0.9111 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.2419, allocations: 469.8 kB / 0.9116 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.242, allocations: 165.1 kB / 0.9118 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.242, allocations: 80.14 kB / 0.9118 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.242, allocations: 79.22 kB / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2421, allocations: 121.7 kB / 0.912 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2421, allocations: 0 / 0.912 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.56e-05/0.2421, allocations: 25.7 kB / 0.912 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2422, allocations: 126.7 kB / 0.9122 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2423, allocations: 144.1 kB / 0.9123 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2423, allocations: 25.7 kB / 0.9123 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.2424, allocations: 96.12 kB / 0.9124 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2424, allocations: 0 / 0.9124 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2424, allocations: 4 kB / 0.9124 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.2424, allocations: 318.8 kB / 0.9127 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.2425, allocations: 8 kB / 0.9127 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.2425, allocations: 7.938 kB / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.2425, allocations: 12.86 kB / 0.9128 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2425, allocations: 0 / 0.9128 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001108/0.2426, allocations: 57.53 kB / 0.9128 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2427, allocations: 4 kB / 0.9128 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.2427, allocations: 4 kB / 0.9128 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2427, allocations: 4.062 kB / 0.9128 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.2427, allocations: 4.062 kB / 0.9128 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2427, allocations: 4 kB / 0.9128 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.2427, allocations: 3.938 kB / 0.9128 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2428, allocations: 0 / 0.9128 GB, free: 51.62 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 5.64e-05/0.2428, allocations: 185.1 kB / 0.913 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2429, allocations: 116.8 kB / 0.9131 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.2429, allocations: 116.8 kB / 0.9132 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.2429, allocations: 180.2 kB / 0.9134 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/0.243, allocations: 176.3 kB / 0.9136 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.243, allocations: 180.3 kB / 0.9137 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.2431, allocations: 417.1 kB / 0.9141 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.2432, allocations: 105.1 kB / 0.9142 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.2432, allocations: 116.9 kB / 0.9144 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.21e-05/0.2432, allocations: 176.3 kB / 0.9145 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2432, allocations: 176.3 kB / 0.9147 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/0.2433, allocations: 188.2 kB / 0.9149 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-05/0.2433, allocations: 184.2 kB / 0.915 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.337e-05/0.2434, allocations: 303.8 kB / 0.9153 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.2434, allocations: 197.9 kB / 0.9155 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.2434, allocations: 184.2 kB / 0.9157 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.2435, allocations: 101 kB / 0.9158 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.2435, allocations: 180.2 kB / 0.916 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2436, allocations: 109 kB / 0.9161 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.2436, allocations: 105.6 kB / 0.9162 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2436, allocations: 0 / 0.9162 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005993/0.2442, allocations: 283.8 kB / 0.9164 GB, free: 47.7 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.0009621/0.2452, allocations: 0.5601 MB / 0.917 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.2453, allocations: 45.64 kB / 0.917 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2453, allocations: 0 / 0.917 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2453, allocations: 0 / 0.917 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2456, allocations: 0.5341 MB / 0.9176 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.2459, allocations: 289.3 kB / 0.9178 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.246, allocations: 0.6848 MB / 0.9185 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-06/0.246, allocations: 7.438 kB / 0.9185 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.246, allocations: 0 / 0.9185 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.006281/0.2523, allocations: 4.818 MB / 0.9232 GB, free: 40.7 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)