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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.902/1.902, allocations: 288.4 MB / 303.4 MB, free: 8.195 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.001132/0.001133, allocations: 180.5 kB / 372 MB, free: 10.26 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.612/1.612, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0007769/0.0007766, allocations: 87.27 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 16.72 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00137/0.2264, allocations: 1.142 MB / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003282/0.2297, allocations: 2.739 MB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.2298, allocations: 0 / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.2298, allocations: 0 / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.2299, allocations: 23.84 kB / 0.9835 GB, free: 23.66 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.2328, allocations: 1.318 MB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.2329, allocations: 43.73 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.233, allocations: 288 / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.233, allocations: 15.94 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.233, allocations: 23.86 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.233, allocations: 3.938 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.2347, allocations: 1.268 MB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.2347, allocations: 3.984 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2347, allocations: 29.7 kB / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.2355, allocations: 0.729 MB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2355, allocations: 0 / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2355, allocations: 0 / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2355, allocations: 4 kB / 0.9868 GB, free: 20.23 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.0004975/0.236, allocations: 0.5106 MB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2361, allocations: 8.031 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.2361, allocations: 87.14 kB / 0.9874 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2363, allocations: 246.3 kB / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.2363, allocations: 150.6 kB / 0.9878 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2363, allocations: 154.6 kB / 0.9879 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.2e-05/0.2364, allocations: 109 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2364, allocations: 75.28 kB / 0.9881 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.2365, allocations: 154.5 kB / 0.9883 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.2365, allocations: 150.6 kB / 0.9884 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.2365, allocations: 150.6 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.2368, allocations: 473.8 kB / 0.989 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.2369, allocations: 165.1 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.2369, allocations: 80.14 kB / 0.9892 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2369, allocations: 83.22 kB / 0.9893 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.237, allocations: 117.8 kB / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.237, allocations: 0 / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.437e-05/0.2371, allocations: 29.7 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2371, allocations: 126.7 kB / 0.9896 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2373, allocations: 143 kB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.2373, allocations: 25.7 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.2373, allocations: 92.12 kB / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.2374, allocations: 0 / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.2374, allocations: 4 kB / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.2375, allocations: 318.8 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.2375, allocations: 4 kB / 0.9901 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.2375, allocations: 11.94 kB / 0.9901 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.2375, allocations: 4 kB / 0.9901 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2376, allocations: 0 / 0.9901 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.2377, allocations: 53.66 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2377, allocations: 5.406 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.2377, allocations: 8 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2378, allocations: 4.062 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.2378, allocations: 0 / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2378, allocations: 3.938 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.2378, allocations: 0 / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2378, allocations: 4 kB / 0.9902 GB, free: 16.52 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.778e-05/0.2379, allocations: 193 kB / 0.9904 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.238, allocations: 120.8 kB / 0.9905 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.238, allocations: 104.9 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.238, allocations: 188.3 kB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/0.2381, allocations: 184.2 kB / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/0.2381, allocations: 180.2 kB / 0.9911 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.2383, allocations: 417.1 kB / 0.9915 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.2383, allocations: 101 kB / 0.9916 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.2383, allocations: 108.9 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.654e-05/0.2384, allocations: 184.3 kB / 0.9919 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.2384, allocations: 180.2 kB / 0.9921 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/0.2385, allocations: 180.2 kB / 0.9923 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/0.2385, allocations: 176.3 kB / 0.9924 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.587e-05/0.2386, allocations: 319.7 kB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.2386, allocations: 182.3 kB / 0.9929 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.2387, allocations: 184.2 kB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.2387, allocations: 105 kB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.2388, allocations: 180.2 kB / 0.9934 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2388, allocations: 116.9 kB / 0.9935 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.2388, allocations: 100.5 kB / 0.9936 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2388, allocations: 0 / 0.9936 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006009/0.2395, allocations: 279.8 kB / 0.9938 GB, free: 12.59 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.0008973/0.2404, allocations: 0.5056 MB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.2405, allocations: 41.69 kB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2405, allocations: 4.062 kB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-06/0.2405, allocations: 3.938 kB / 0.9944 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2409, allocations: 0.5351 MB / 0.9949 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.2412, allocations: 259.8 kB / 0.9951 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2414, allocations: 0.6809 MB / 0.9958 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.2414, allocations: 3.938 kB / 0.9958 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.2414, allocations: 11.44 kB / 0.9958 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.2414, allocations: 0 / 0.9958 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.007854/0.2493, allocations: 5.714 MB / 1.001 GB, free: 4.824 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)