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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001409/0.001409, allocations: 196 kB / 376.9 MB, free: 1.828 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.797/1.797, allocations: 205 MB / 0.6353 GB, free: 9.797 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.001037/0.001038, allocations: 92.19 kB / 0.7479 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 55.91 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3188, allocations: 114.5 MB / 0.9823 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003813/0.3226, allocations: 1.49 MB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005493/0.3282, allocations: 3.064 MB / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.3283, allocations: 0 / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.3283, allocations: 3.938 kB / 0.9867 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.3284, allocations: 11.92 kB / 0.9867 GB, free: 5.738 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.3329, allocations: 1.429 MB / 0.9881 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.333, allocations: 51.61 kB / 0.9882 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.3331, allocations: 0 / 0.9882 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.3331, allocations: 19.92 kB / 0.9882 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.888e-05/0.3331, allocations: 15.92 kB / 0.9882 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3332, allocations: 0 / 0.9882 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3359, allocations: 1.447 MB / 0.9896 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.3359, allocations: 7.938 kB / 0.9896 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.3359, allocations: 19.86 kB / 0.9897 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.3382, allocations: 1.107 MB / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3382, allocations: 0 / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3382, allocations: 0 / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3382, allocations: 0 / 0.9907 GB, free: 1.637 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.0009208/0.3392, allocations: 0.5185 MB / 0.9912 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3392, allocations: 11.98 kB / 0.9913 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.3393, allocations: 80.22 kB / 0.9913 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3395, allocations: 259.4 kB / 0.9916 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.3396, allocations: 150.9 kB / 0.9917 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.3396, allocations: 154.9 kB / 0.9919 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/0.3397, allocations: 105.1 kB / 0.992 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.3397, allocations: 75.28 kB / 0.992 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.3398, allocations: 154.6 kB / 0.9922 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-05/0.3399, allocations: 158.5 kB / 0.9923 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.3399, allocations: 154.6 kB / 0.9925 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.3403, allocations: 457.9 kB / 0.9929 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.3404, allocations: 169.1 kB / 0.9931 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.3404, allocations: 88.14 kB / 0.9932 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.3405, allocations: 79.22 kB / 0.9932 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.3405, allocations: 109.8 kB / 0.9934 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3405, allocations: 0 / 0.9934 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.3406, allocations: 29.7 kB / 0.9934 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.3407, allocations: 126.7 kB / 0.9935 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.3409, allocations: 140.2 kB / 0.9936 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3409, allocations: 25.7 kB / 0.9937 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.341, allocations: 96.11 kB / 0.9937 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.341, allocations: 3.938 kB / 0.9938 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3411, allocations: 17.72 kB / 0.9938 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3412, allocations: 314.8 kB / 0.9941 GB, free: 14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.3413, allocations: 7.984 kB / 0.9941 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.3413, allocations: 7.938 kB / 0.9941 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.3414, allocations: 12.89 kB / 0.9941 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3414, allocations: 0 / 0.9941 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001587/0.3416, allocations: 53.55 kB / 0.9941 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3416, allocations: 11.92 kB / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.3416, allocations: 4.047 kB / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3416, allocations: 3.984 kB / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.3416, allocations: 0 / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3417, allocations: 0 / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.3417, allocations: 0 / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3417, allocations: 4 kB / 0.9942 GB, free: 13.88 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.0001344/0.3418, allocations: 185.2 kB / 0.9943 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.3419, allocations: 120.8 kB / 0.9945 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.877e-05/0.342, allocations: 108.8 kB / 0.9946 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/0.3421, allocations: 188.3 kB / 0.9947 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-05/0.3422, allocations: 176.3 kB / 0.9949 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.995e-05/0.3423, allocations: 180.3 kB / 0.9951 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3426, allocations: 421.1 kB / 0.9955 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.467e-05/0.3427, allocations: 108.9 kB / 0.9956 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.3427, allocations: 104.9 kB / 0.9957 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.3429, allocations: 180.3 kB / 0.9959 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.343, allocations: 184.3 kB / 0.996 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.655e-05/0.3431, allocations: 180.2 kB / 0.9962 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.824e-05/0.3432, allocations: 184.2 kB / 0.9964 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.3438, allocations: 0.8569 MB / 0.9972 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3439, allocations: 190 kB / 0.9974 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.344, allocations: 180.2 kB / 0.9976 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3441, allocations: 104.9 kB / 0.9977 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3442, allocations: 180.3 kB / 0.9978 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.3443, allocations: 108.9 kB / 0.998 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.295e-05/0.3444, allocations: 95.27 kB / 0.998 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.775e-06/0.3444, allocations: 4 kB / 0.998 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001368/0.3458, allocations: 295.6 kB / 0.9983 GB, free: 9.355 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.001981/0.3478, allocations: 0.5387 MB / 0.9989 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3479, allocations: 37.64 kB / 0.9989 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3479, allocations: 4.062 kB / 0.9989 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.3479, allocations: 0 / 0.9989 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3485, allocations: 0.5302 MB / 0.9994 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.349, allocations: 237.8 kB / 0.9996 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3495, allocations: 0.6848 MB / 1 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.3495, allocations: 0 / 1 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.3495, allocations: 11.44 kB / 1 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of SimCode: time 9.41e-07/0.3495, allocations: 0 / 1 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.01385/0.3634, allocations: 5.603 MB / 1.006 GB, free: 1.691 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)