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.001724/0.001729, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001931/0.001931, allocations: 195.1 kB / 16.14 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 69.02 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002337/0.2698, allocations: 1.499 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004081/0.2739, allocations: 3.02 MB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.274, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.274, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.2741, allocations: 19.84 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.2774, allocations: 1.401 MB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.2775, allocations: 39.73 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2775, allocations: 7.984 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.2775, allocations: 19.92 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.2776, allocations: 19.86 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2776, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.2796, allocations: 1.462 MB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2796, allocations: 7.875 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2796, allocations: 19.86 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.2813, allocations: 1.139 MB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2813, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2813, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2813, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8262 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.0008558/0.2822, allocations: 0.5185 MB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.2822, allocations: 8.031 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.626e-05/0.2823, allocations: 84.22 kB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.2825, allocations: 247.6 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.2826, allocations: 158.9 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.2827, allocations: 154.9 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/0.2828, allocations: 105.1 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.2828, allocations: 75.28 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.2829, allocations: 158.5 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/0.283, allocations: 154.6 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.283, allocations: 150.6 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.2834, allocations: 465.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/0.2835, allocations: 169.2 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.2835, allocations: 88.08 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.2836, allocations: 79.28 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/0.2836, allocations: 113.8 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2837, allocations: 0 / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.954e-05/0.2838, allocations: 25.7 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.2838, allocations: 126.7 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.284, allocations: 147.7 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.284, allocations: 29.7 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.2841, allocations: 88.14 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.2841, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.2842, allocations: 17.72 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2843, allocations: 318.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.2843, allocations: 4 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.2843, allocations: 7.938 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.2844, allocations: 20.8 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2844, allocations: 4.031 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001266/0.2845, allocations: 53.53 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2845, allocations: 8 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.2846, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2846, allocations: 4 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.2846, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2846, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.2846, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.2847, allocations: 3.938 kB / 1.079 GB, free: 14.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 9.721e-05/0.2848, allocations: 201.1 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.2848, allocations: 112.8 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.2849, allocations: 108.9 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-05/0.2849, allocations: 180.2 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.285, allocations: 180.3 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.883e-05/0.2851, allocations: 184.2 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2853, allocations: 417.2 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.2853, allocations: 108.9 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.2854, allocations: 104.9 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.623e-05/0.2854, allocations: 180.2 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.2855, allocations: 184.4 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.2856, allocations: 188.3 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/0.2856, allocations: 180.2 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2857, allocations: 311.8 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.2858, allocations: 193.9 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.2859, allocations: 176.3 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.286, allocations: 105 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.286, allocations: 184.2 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2861, allocations: 105 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.2861, allocations: 101.3 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2861, allocations: 0 / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007611/0.2869, allocations: 287.8 kB / 1.083 GB, free: 10.54 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.001051/0.288, allocations: 0.5292 MB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.2881, allocations: 45.64 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2881, allocations: 0 / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.2881, allocations: 0 / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2885, allocations: 0.538 MB / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.2888, allocations: 253.7 kB / 1.084 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.289, allocations: 0.6848 MB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.289, allocations: 0 / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.289, allocations: 7.438 kB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.289, allocations: 0 / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.008978/0.298, allocations: 5.684 MB / 1.091 GB, free: 2.777 MB / 0.8419 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)