Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008781/0.0008781, allocations: 98.03 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.005414/0.005414, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 7.5 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 162.2 MB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001455/0.2811, allocations: 1.165 MB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004293/0.2854, allocations: 2.954 MB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.2854, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.2855, allocations: 7.922 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.2855, allocations: 15.86 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.289, allocations: 1.387 MB / 1.08 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.289, allocations: 47.73 kB / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.2891, allocations: 7.984 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.2891, allocations: 15.92 kB / 1.08 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.928e-05/0.2891, allocations: 23.86 kB / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.2892, allocations: 0 / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.2913, allocations: 1.459 MB / 1.081 GB, free: 396 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.2913, allocations: 7.984 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.2914, allocations: 45.52 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.293, allocations: 1.123 MB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.293, allocations: 4 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.293, allocations: 0 / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.2931, allocations: 0 / 1.082 GB, free: 15.2 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.0006188/0.2937, allocations: 0.5146 MB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2937, allocations: 8.031 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.2938, allocations: 88.06 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2939, allocations: 253.1 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.294, allocations: 150.9 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.294, allocations: 154.9 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.669e-05/0.2941, allocations: 109.1 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2941, allocations: 79.28 kB / 1.084 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.2942, allocations: 150.6 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.2942, allocations: 150.6 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.776e-05/0.2943, allocations: 158.5 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.2945, allocations: 461.9 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.2946, allocations: 169.1 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.2946, allocations: 84.19 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2947, allocations: 83.27 kB / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.2947, allocations: 113.8 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2947, allocations: 0 / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.775e-05/0.2948, allocations: 41.53 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2948, allocations: 126.7 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.295, allocations: 135.5 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.295, allocations: 25.7 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.295, allocations: 96.14 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.295, allocations: 0 / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.2951, allocations: 13.7 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.2952, allocations: 318.8 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.2952, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.2952, allocations: 8 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.2953, allocations: 24.91 kB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2953, allocations: 3.938 kB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001179/0.2954, allocations: 57.48 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2954, allocations: 8.062 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.2954, allocations: 4 kB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2954, allocations: 0 / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.2954, allocations: 0 / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.2955, allocations: 0 / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.2955, allocations: 0 / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2955, allocations: 4 kB / 1.086 GB, free: 11.44 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 8.094e-05/0.2956, allocations: 185.1 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.2956, allocations: 116.8 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.2957, allocations: 112.9 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/0.2958, allocations: 180.3 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-05/0.2958, allocations: 184.2 kB / 1.086 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.158e-05/0.2959, allocations: 176.3 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.2961, allocations: 417.2 kB / 1.087 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/0.2961, allocations: 108.9 kB / 1.087 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.2962, allocations: 101 kB / 1.087 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.826e-05/0.2962, allocations: 184.2 kB / 1.087 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.2963, allocations: 180.5 kB / 1.088 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.183e-05/0.2963, allocations: 184.2 kB / 1.088 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.015e-05/0.2964, allocations: 176.3 kB / 1.088 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.2965, allocations: 323.7 kB / 1.088 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.2966, allocations: 185.9 kB / 1.088 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/0.2967, allocations: 180.2 kB / 1.089 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.2967, allocations: 109 kB / 1.089 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.2968, allocations: 188.2 kB / 1.089 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.2968, allocations: 104.9 kB / 1.089 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.2969, allocations: 97.14 kB / 1.089 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2969, allocations: 0 / 1.089 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007417/0.2977, allocations: 291.8 kB / 1.089 GB, free: 7.508 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.0009941/0.2987, allocations: 0.5253 MB / 1.09 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.2988, allocations: 45.69 kB / 1.09 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2988, allocations: 0 / 1.09 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.2988, allocations: 0 / 1.09 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2992, allocations: 0.5341 MB / 1.09 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.2995, allocations: 265.6 kB / 1.091 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2997, allocations: 0.6848 MB / 1.091 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.173e-05/0.2997, allocations: 0 / 1.091 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-06/0.2997, allocations: 7.438 kB / 1.091 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2997, allocations: 0 / 1.091 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of Templates: time 0.009242/0.309, allocations: 5.676 MB / 1.097 GB, free: 15.75 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)