Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001366/0.001366, allocations: 178.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.27/2.27, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009341/0.0009342, allocations: 85.59 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007499/0.0007504, allocations: 16.31 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2302, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001601/0.2318, allocations: 1.134 MB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004866/0.2367, allocations: 2.744 MB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.2368, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.2369, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.237, allocations: 19.86 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.004638/0.2416, allocations: 1.288 MB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.2417, allocations: 39.73 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.2418, allocations: 0 / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.2418, allocations: 11.94 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.2418, allocations: 23.92 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2419, allocations: 4 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.2445, allocations: 1.225 MB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2446, allocations: 3.938 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.2446, allocations: 29.7 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.2459, allocations: 0.7099 MB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.246, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.414e-06/0.246, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.246, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 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.0006245/0.2466, allocations: 0.5092 MB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2467, allocations: 12.03 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.2467, allocations: 87.12 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2469, allocations: 246.2 kB / 0.9863 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2469, allocations: 150.6 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.2469, allocations: 154.6 kB / 0.9866 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.247, allocations: 105 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2471, allocations: 75.28 kB / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.2471, allocations: 154.6 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.2471, allocations: 150.6 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.2472, allocations: 154.5 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.2474, allocations: 473.8 kB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.2475, allocations: 169.1 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.2475, allocations: 84.14 kB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.2475, allocations: 75.28 kB / 0.988 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2476, allocations: 109.8 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.2476, allocations: 7.938 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.403e-05/0.2477, allocations: 29.7 kB / 0.9881 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2477, allocations: 126.7 kB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2479, allocations: 135.8 kB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.2479, allocations: 25.7 kB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.2479, allocations: 92.12 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.2479, allocations: 4 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.2479, allocations: 3.938 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.248, allocations: 322.8 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.2481, allocations: 8 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.2481, allocations: 4 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.2481, allocations: 4 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2481, allocations: 0 / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001437/0.2483, allocations: 49.62 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2483, allocations: 4 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.2484, allocations: 4 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2484, allocations: 0 / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.2484, allocations: 4.062 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2484, allocations: 0 / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.2484, allocations: 3.906 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2485, allocations: 11.98 kB / 0.9889 GB, free: 17.36 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.2485, allocations: 189 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.2486, allocations: 109 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.2486, allocations: 112.8 kB / 0.9893 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.2487, allocations: 188.3 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.449e-05/0.2487, allocations: 180.2 kB / 0.9896 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/0.2488, allocations: 180.2 kB / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.249, allocations: 417.2 kB / 0.9902 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.249, allocations: 104.9 kB / 0.9903 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.249, allocations: 104.9 kB / 0.9904 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.329e-05/0.2491, allocations: 188.2 kB / 0.9906 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.2491, allocations: 180.2 kB / 0.9907 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-05/0.2491, allocations: 180.2 kB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-05/0.2492, allocations: 176.3 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.2493, allocations: 323.9 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.2493, allocations: 186 kB / 0.9916 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.2494, allocations: 184.2 kB / 0.9917 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.2495, allocations: 105 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.2495, allocations: 176.3 kB / 0.992 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.2496, allocations: 104.9 kB / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.2496, allocations: 105.4 kB / 0.9922 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2496, allocations: 0 / 0.9922 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009072/0.2506, allocations: 283.7 kB / 0.9925 GB, free: 13.44 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/0.2519, allocations: 0.51 MB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.252, allocations: 37.7 kB / 0.993 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.252, allocations: 4.062 kB / 0.993 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.252, allocations: 0 / 0.993 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2524, allocations: 0.534 MB / 0.9935 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.2527, allocations: 251.7 kB / 0.9938 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2529, allocations: 0.6848 MB / 0.9945 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.2529, allocations: 0 / 0.9945 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.2529, allocations: 11.44 kB / 0.9945 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2529, allocations: 0 / 0.9945 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.01236/0.2653, allocations: 5.51 MB / 0.9998 GB, free: 5.883 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)