Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.0.0_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_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007715/0.007715, allocations: 170 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 12.62 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001468/0.2827, allocations: 1.16 MB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004248/0.2869, allocations: 2.958 MB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.287, allocations: 0 / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.287, allocations: 4 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.2871, allocations: 15.84 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.2904, allocations: 1.39 MB / 1.08 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.2905, allocations: 35.75 kB / 1.08 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.2905, allocations: 11.97 kB / 1.08 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.2906, allocations: 19.92 kB / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.2906, allocations: 19.88 kB / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.2906, allocations: 0 / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.2926, allocations: 1.47 MB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.2927, allocations: 3.984 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.2927, allocations: 45.52 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2941, allocations: 1.123 MB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2942, allocations: 3.938 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2942, allocations: 4 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2942, allocations: 0 / 1.082 GB, free: 15.23 MB / 0.8419 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.0005753/0.2948, allocations: 0.5107 MB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2948, allocations: 12.03 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.2949, allocations: 84.06 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.295, allocations: 253.1 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.2951, allocations: 158.9 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2951, allocations: 150.9 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.934e-05/0.2952, allocations: 109.1 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.2952, allocations: 75.28 kB / 1.084 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.2953, allocations: 150.6 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.2953, allocations: 150.6 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.2954, allocations: 154.5 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.2956, allocations: 465.9 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.2957, allocations: 173.1 kB / 1.085 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.2958, allocations: 84.19 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2958, allocations: 75.28 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.2958, allocations: 117.7 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2958, allocations: 0 / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.947e-05/0.2959, allocations: 33.61 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.296, allocations: 126.7 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2961, allocations: 139.5 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2961, allocations: 25.7 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.2962, allocations: 88.14 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2962, allocations: 0 / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.2962, allocations: 17.72 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2963, allocations: 322.8 kB / 1.086 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.2964, allocations: 4 kB / 1.086 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.2964, allocations: 4 kB / 1.086 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.2964, allocations: 20.86 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2964, allocations: 0 / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001305/0.2966, allocations: 61.47 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2966, allocations: 4 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.2966, allocations: 4 kB / 1.086 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2966, allocations: 0 / 1.086 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-07/0.2967, allocations: 4.062 kB / 1.086 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.2967, allocations: 4 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.2967, allocations: 0 / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2967, allocations: 0 / 1.086 GB, free: 11.48 MB / 0.8419 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.0001033/0.2968, allocations: 190.9 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.2969, allocations: 116.8 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.2969, allocations: 108.9 kB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/0.297, allocations: 184.2 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.37e-05/0.2971, allocations: 176.3 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/0.2972, allocations: 188.2 kB / 1.087 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.2974, allocations: 409.2 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.2974, allocations: 108.9 kB / 1.087 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.2975, allocations: 108.9 kB / 1.087 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/0.2975, allocations: 180.3 kB / 1.087 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.2976, allocations: 184.4 kB / 1.088 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.794e-05/0.2976, allocations: 184.2 kB / 1.088 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.177e-05/0.2977, allocations: 180.3 kB / 1.088 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2978, allocations: 315.7 kB / 1.088 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.2979, allocations: 189.9 kB / 1.088 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.298, allocations: 184.2 kB / 1.089 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.2981, allocations: 101 kB / 1.089 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.2981, allocations: 180.2 kB / 1.089 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.2982, allocations: 109 kB / 1.089 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.2982, allocations: 105.1 kB / 1.089 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2982, allocations: 0 / 1.089 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007082/0.2989, allocations: 283.8 kB / 1.089 GB, free: 7.555 MB / 0.8419 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.00104/0.3, allocations: 0.5401 MB / 1.09 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.3001, allocations: 41.69 kB / 1.09 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3001, allocations: 0 / 1.09 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.3001, allocations: 7.938 kB / 1.09 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3005, allocations: 0.5224 MB / 1.09 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.3008, allocations: 264.3 kB / 1.091 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3011, allocations: 0.6887 MB / 1.091 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.3011, allocations: 0 / 1.091 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.3011, allocations: 15.44 kB / 1.091 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3011, allocations: 0 / 1.091 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.009331/0.3105, allocations: 5.68 MB / 1.097 GB, free: 15.78 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)