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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.539/2.539, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001383/0.001383, allocations: 182.3 kB / 371 MB, free: 10.85 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.142/2.142, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009725/0.0009725, allocations: 84.8 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.000495, allocations: 13.06 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001617/0.2111, allocations: 1.142 MB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005064/0.2162, allocations: 2.771 MB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.2163, allocations: 3.938 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.2163, allocations: 7.922 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.2164, allocations: 11.92 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.005081/0.2215, allocations: 1.332 MB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.2216, allocations: 35.69 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.2217, allocations: 8.281 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.2217, allocations: 15.92 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.2218, allocations: 11.94 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2218, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.2247, allocations: 1.264 MB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2247, allocations: 15.91 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.2248, allocations: 33.7 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.2265, allocations: 0.7213 MB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2265, allocations: 0 / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.347e-06/0.2265, allocations: 0 / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.2266, allocations: 0 / 0.9856 GB, free: 20.91 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.0006917/0.2273, allocations: 0.5114 MB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2273, allocations: 8.031 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.2274, allocations: 87.14 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2275, allocations: 250.3 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.2275, allocations: 154.6 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2276, allocations: 150.6 kB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.034e-05/0.2276, allocations: 101 kB / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.2277, allocations: 75.28 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.2277, allocations: 154.6 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.2277, allocations: 158.5 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.2278, allocations: 154.5 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.228, allocations: 465.8 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.2281, allocations: 169.1 kB / 0.988 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.2281, allocations: 84.14 kB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2282, allocations: 79.22 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2282, allocations: 113.8 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.2282, allocations: 3.938 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.254e-05/0.2283, allocations: 25.7 kB / 0.9882 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2284, allocations: 126.7 kB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2285, allocations: 151.7 kB / 0.9885 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.2285, allocations: 25.7 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.2286, allocations: 84.14 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.2286, allocations: 0 / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2286, allocations: 8 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.2287, allocations: 314.8 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.2287, allocations: 8 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.2287, allocations: 7.938 kB / 0.9889 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.2288, allocations: 8.031 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2288, allocations: 0 / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.229, allocations: 57.59 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.229, allocations: 7.938 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.229, allocations: 4 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.229, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.2291, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2291, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.2291, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2291, allocations: 7.953 kB / 0.989 GB, free: 17.19 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.064e-05/0.2292, allocations: 189.1 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2293, allocations: 116.8 kB / 0.9893 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.2293, allocations: 108.9 kB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.2294, allocations: 180.3 kB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/0.2294, allocations: 184.2 kB / 0.9898 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/0.2294, allocations: 184.2 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2296, allocations: 417.1 kB / 0.9903 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.2296, allocations: 105 kB / 0.9904 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.2297, allocations: 101 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.495e-05/0.2297, allocations: 184.2 kB / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.2298, allocations: 184.2 kB / 0.9909 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.177e-05/0.2298, allocations: 184.3 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.132e-05/0.2298, allocations: 180.3 kB / 0.9912 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.2299, allocations: 308 kB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.23, allocations: 194 kB / 0.9917 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.2301, allocations: 188.1 kB / 0.9919 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.2302, allocations: 101 kB / 0.992 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2302, allocations: 192.2 kB / 0.9922 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.2303, allocations: 101 kB / 0.9923 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.2303, allocations: 100.2 kB / 0.9924 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2303, allocations: 0 / 0.9924 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000926/0.2313, allocations: 283.8 kB / 0.9926 GB, free: 13.27 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.001416/0.2327, allocations: 0.513 MB / 0.9931 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.2329, allocations: 49.56 kB / 0.9932 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2329, allocations: 0 / 0.9932 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.2329, allocations: 3.938 kB / 0.9932 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2334, allocations: 0.5303 MB / 0.9937 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.2337, allocations: 258 kB / 0.9939 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2339, allocations: 0.6887 MB / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.2339, allocations: 0 / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.2339, allocations: 11.38 kB / 0.9946 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.2339, allocations: 0 / 0.9946 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.01346/0.2474, allocations: 5.704 MB / 1 GB, free: 5.496 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)