Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 288.4 MB / 303.4 MB, free: 8.117 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.001071/0.001071, allocations: 187 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008519/0.000852, allocations: 94.31 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001386/0.2379, allocations: 1.13 MB / 0.9808 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.2412, allocations: 2.704 MB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.2413, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.2413, allocations: 3.938 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.2414, allocations: 15.91 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.002909/0.2443, allocations: 1.298 MB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.2444, allocations: 35.75 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.2444, allocations: 4 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.2445, allocations: 15.92 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.2445, allocations: 15.88 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2445, allocations: 3.938 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.246, allocations: 1.229 MB / 0.9859 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.246, allocations: 7.938 kB / 0.986 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.2461, allocations: 29.7 kB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.2468, allocations: 0.7059 MB / 0.9867 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2468, allocations: 7.984 kB / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2468, allocations: 0 / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2468, allocations: 0 / 0.9867 GB, free: 20.39 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.0004346/0.2473, allocations: 0.5028 MB / 0.9872 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2473, allocations: 8.031 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.2474, allocations: 79.19 kB / 0.9873 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2475, allocations: 258.2 kB / 0.9875 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.2475, allocations: 154.6 kB / 0.9877 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2475, allocations: 150.6 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.424e-05/0.2476, allocations: 105 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2476, allocations: 75.28 kB / 0.988 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.2477, allocations: 150.6 kB / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.2477, allocations: 154.5 kB / 0.9883 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.2477, allocations: 162.5 kB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.2479, allocations: 465.8 kB / 0.9889 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.248, allocations: 169.1 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.248, allocations: 84.14 kB / 0.9891 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.248, allocations: 79.28 kB / 0.9892 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2481, allocations: 109.8 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2481, allocations: 0 / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.272e-05/0.2482, allocations: 29.7 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2482, allocations: 130.7 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2483, allocations: 135.2 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.2483, allocations: 25.7 kB / 0.9896 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.2484, allocations: 96.12 kB / 0.9897 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.2484, allocations: 0 / 0.9897 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.2484, allocations: 0 / 0.9897 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.2485, allocations: 322.8 kB / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.2485, allocations: 4 kB / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.2485, allocations: 7.938 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.2485, allocations: 11.94 kB / 0.99 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2485, allocations: 0 / 0.99 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.2487, allocations: 41.69 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2487, allocations: 9.625 kB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2487, allocations: 4 kB / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2487, allocations: 0 / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.2487, allocations: 0 / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2487, allocations: 3.938 kB / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.2488, allocations: 11.91 kB / 0.9901 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2488, allocations: 0 / 0.9901 GB, free: 16.69 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.415e-05/0.2489, allocations: 185.7 kB / 0.9903 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.2489, allocations: 112.9 kB / 0.9904 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2489, allocations: 112.8 kB / 0.9905 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.249, allocations: 176.3 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.154e-05/0.249, allocations: 184.2 kB / 0.9908 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/0.249, allocations: 180.3 kB / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2492, allocations: 421.1 kB / 0.9914 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.2492, allocations: 105 kB / 0.9915 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.2492, allocations: 105 kB / 0.9916 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/0.2493, allocations: 184.2 kB / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.2493, allocations: 176.3 kB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.999e-05/0.2494, allocations: 180.2 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.84e-05/0.2494, allocations: 188.2 kB / 0.9923 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.2495, allocations: 311.9 kB / 0.9926 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.2495, allocations: 186 kB / 0.9928 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.2496, allocations: 188.2 kB / 0.9929 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.2496, allocations: 101 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2497, allocations: 184.2 kB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2497, allocations: 105 kB / 0.9933 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.2497, allocations: 96.52 kB / 0.9934 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2497, allocations: 0 / 0.9934 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005961/0.2503, allocations: 279.8 kB / 0.9937 GB, free: 12.79 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.0008945/0.2512, allocations: 0.5229 MB / 0.9942 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.2513, allocations: 37.7 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2514, allocations: 0 / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.2514, allocations: 3.938 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2517, allocations: 0.5263 MB / 0.9947 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.252, allocations: 267.7 kB / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2521, allocations: 0.6809 MB / 0.9956 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.2521, allocations: 0 / 0.9956 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.035e-05/0.2521, allocations: 11.44 kB / 0.9957 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2521, allocations: 7.938 kB / 0.9957 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.008072/0.2602, allocations: 5.514 MB / 1.001 GB, free: 5.211 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)