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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 188.5 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001125, allocations: 104.2 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3162, allocations: 114.5 MB / 0.9823 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.005184/0.3214, allocations: 1.496 MB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007747/0.3292, allocations: 3.114 MB / 0.9868 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.3293, allocations: 0 / 0.9868 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.3294, allocations: 7.984 kB / 0.9868 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3295, allocations: 15.86 kB / 0.9868 GB, free: 5.699 MB / 0.7136 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.00571/0.3353, allocations: 1.457 MB / 0.9882 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3354, allocations: 39.69 kB / 0.9883 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.3355, allocations: 8.266 kB / 0.9883 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.897e-05/0.3355, allocations: 11.94 kB / 0.9883 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.3356, allocations: 19.86 kB / 0.9883 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3356, allocations: 4 kB / 0.9883 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.3389, allocations: 1.486 MB / 0.9898 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3389, allocations: 7.984 kB / 0.9898 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.339, allocations: 15.88 kB / 0.9898 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.3412, allocations: 1.146 MB / 0.9909 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.3413, allocations: 0 / 0.9909 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3413, allocations: 0 / 0.9909 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3413, allocations: 0 / 0.9909 GB, free: 1.5 MB / 0.7136 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.0008961/0.3422, allocations: 0.5244 MB / 0.9914 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.069e-05/0.3423, allocations: 15.92 kB / 0.9914 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.3424, allocations: 80.12 kB / 0.9915 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3426, allocations: 251.6 kB / 0.9917 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.3427, allocations: 154.9 kB / 0.9919 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.3428, allocations: 150.9 kB / 0.992 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3429, allocations: 113.1 kB / 0.9921 GB, free: 136 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.343, allocations: 79.27 kB / 0.9922 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3431, allocations: 150.6 kB / 0.9924 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.3432, allocations: 150.6 kB / 0.9925 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.3433, allocations: 158.5 kB / 0.9927 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3438, allocations: 465.9 kB / 0.9931 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3439, allocations: 165.1 kB / 0.9933 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.3439, allocations: 80.14 kB / 0.9933 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.344, allocations: 79.28 kB / 0.9934 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.858e-05/0.3441, allocations: 113.7 kB / 0.9935 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3441, allocations: 4 kB / 0.9935 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.000111/0.3442, allocations: 33.61 kB / 0.9936 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.3443, allocations: 126.7 kB / 0.9937 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3445, allocations: 140.3 kB / 0.9938 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3445, allocations: 25.7 kB / 0.9938 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.3446, allocations: 88.12 kB / 0.9939 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.3446, allocations: 0 / 0.9939 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3447, allocations: 21.72 kB / 0.9939 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3449, allocations: 318.8 kB / 0.9942 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.3449, allocations: 8 kB / 0.9942 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.345, allocations: 4 kB / 0.9943 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.345, allocations: 16.8 kB / 0.9943 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.345, allocations: 0 / 0.9943 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.3452, allocations: 61.59 kB / 0.9943 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3453, allocations: 7.938 kB / 0.9943 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/0.3453, allocations: 4 kB / 0.9943 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3453, allocations: 0 / 0.9943 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.3454, allocations: 4.062 kB / 0.9943 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3454, allocations: 0 / 0.9943 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.3454, allocations: 4 kB / 0.9943 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3454, allocations: 0 / 0.9943 GB, free: 13.73 MB / 0.7292 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 0.000159/0.3456, allocations: 189.1 kB / 0.9945 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.3457, allocations: 120.8 kB / 0.9946 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.3458, allocations: 108.9 kB / 0.9947 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-05/0.3459, allocations: 184.3 kB / 0.9949 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-05/0.346, allocations: 180.3 kB / 0.9951 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.614e-05/0.3461, allocations: 176.3 kB / 0.9953 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.3465, allocations: 421.1 kB / 0.9957 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/0.3465, allocations: 104.9 kB / 0.9958 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.3466, allocations: 113 kB / 0.9959 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.728e-05/0.3467, allocations: 180.3 kB / 0.996 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/0.3468, allocations: 180.2 kB / 0.9962 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-05/0.3469, allocations: 184.2 kB / 0.9964 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.571e-05/0.347, allocations: 180.3 kB / 0.9966 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.3476, allocations: 0.8608 MB / 0.9974 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3477, allocations: 186 kB / 0.9976 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.3479, allocations: 180.3 kB / 0.9978 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.348, allocations: 104.9 kB / 0.9979 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.3481, allocations: 184.3 kB / 0.998 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.3482, allocations: 104.9 kB / 0.9981 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.3482, allocations: 105.4 kB / 0.9982 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3483, allocations: 0 / 0.9982 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001312/0.3496, allocations: 299.7 kB / 0.9985 GB, free: 9.199 MB / 0.7292 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.001573/0.3512, allocations: 0.5515 MB / 0.9991 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3513, allocations: 45.64 kB / 0.9991 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3513, allocations: 0 / 0.9991 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.3513, allocations: 0 / 0.9991 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.352, allocations: 0.5303 MB / 0.9996 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.3524, allocations: 253.5 kB / 0.9999 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3528, allocations: 0.6887 MB / 1.001 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.3528, allocations: 0 / 1.001 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.3528, allocations: 11.44 kB / 1.001 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.3528, allocations: 0 / 1.001 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of Templates: time 0.01286/0.3657, allocations: 5.803 MB / 1.006 GB, free: 1.293 MB / 0.7292 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)