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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009142/0.009142, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.391/1.391, 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.745/2.745, allocations: 473.4 MB / 0.7469 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 15.22 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001389/0.2872, allocations: 1.156 MB / 1.075 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004002/0.2912, allocations: 2.911 MB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.2912, allocations: 4 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.2912, allocations: 0 / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.2913, allocations: 15.84 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.2943, allocations: 1.367 MB / 1.08 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.2944, allocations: 39.73 kB / 1.08 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.2945, allocations: 11.98 kB / 1.08 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.2945, allocations: 11.94 kB / 1.08 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.501e-05/0.2945, allocations: 15.88 kB / 1.08 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2945, allocations: 0 / 1.08 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2964, allocations: 1.427 MB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.2964, allocations: 11.97 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.2964, allocations: 37.58 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2977, allocations: 1.092 MB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2977, allocations: 4 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2978, allocations: 8 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.2978, allocations: 0 / 1.082 GB, free: 15.42 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.0005951/0.2984, allocations: 0.5042 MB / 1.083 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2984, allocations: 11.97 kB / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.2985, allocations: 84.12 kB / 1.083 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2986, allocations: 252.8 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.2987, allocations: 154.9 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.2987, allocations: 154.9 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.242e-05/0.2988, allocations: 105.1 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2988, allocations: 79.28 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.2989, allocations: 150.6 kB / 1.084 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.2989, allocations: 154.5 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.299, allocations: 154.5 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.2993, allocations: 465.9 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.2994, allocations: 165.1 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.2994, allocations: 84.08 kB / 1.085 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2995, allocations: 79.28 kB / 1.085 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.2995, allocations: 117.8 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 3.156e-06/0.2995, allocations: 0 / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.213e-05/0.2996, allocations: 33.55 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2997, allocations: 126.7 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2998, allocations: 131.2 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2998, allocations: 25.7 kB / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.2999, allocations: 92.12 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.2999, allocations: 4 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.3, allocations: 13.72 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3001, allocations: 314.8 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.3001, allocations: 4 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.3001, allocations: 15.92 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.3002, allocations: 12.8 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3002, allocations: 0 / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001219/0.3003, allocations: 49.55 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3003, allocations: 8 kB / 1.086 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.3004, allocations: 8.047 kB / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3004, allocations: 4 kB / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3004, allocations: 0 / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.3004, allocations: 0 / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.3004, allocations: 0 / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3004, allocations: 0 / 1.086 GB, free: 11.7 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.0001039/0.3005, allocations: 193.1 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.3006, allocations: 112.8 kB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.3007, allocations: 124.6 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.3007, allocations: 176.3 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.568e-05/0.3008, allocations: 180.2 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-05/0.3009, allocations: 180.4 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3011, allocations: 417.2 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.193e-05/0.3011, allocations: 120.9 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3012, allocations: 101 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-05/0.3013, allocations: 180.2 kB / 1.087 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.3013, allocations: 176.3 kB / 1.087 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.276e-05/0.3014, allocations: 184.2 kB / 1.088 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.939e-05/0.3015, allocations: 180.2 kB / 1.088 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3016, allocations: 319.7 kB / 1.088 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.3017, allocations: 186 kB / 1.088 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.3018, allocations: 184.2 kB / 1.088 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.3018, allocations: 109 kB / 1.088 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.3019, allocations: 184.2 kB / 1.089 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.302, allocations: 105 kB / 1.089 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.302, allocations: 96.83 kB / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.302, allocations: 0 / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006587/0.3027, allocations: 279.8 kB / 1.089 GB, free: 7.762 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.0009665/0.3037, allocations: 0.5136 MB / 1.09 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.3038, allocations: 37.7 kB / 1.09 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3038, allocations: 0 / 1.09 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-06/0.3038, allocations: 3.938 kB / 1.09 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3042, allocations: 0.5302 MB / 1.09 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.3045, allocations: 260.5 kB / 1.09 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3047, allocations: 0.6887 MB / 1.091 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.197e-05/0.3047, allocations: 0 / 1.091 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.3047, allocations: 11.44 kB / 1.091 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3047, allocations: 7.938 kB / 1.091 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of Templates: time 0.00886/0.3136, allocations: 5.455 MB / 1.096 GB, free: 240 kB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)