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 1.766/1.766, allocations: 287.5 MB / 302.6 MB, free: 8.273 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.001066/0.001066, allocations: 190.3 kB / 371.2 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 1.722/1.722, allocations: 205.4 MB / 0.6298 GB, free: 10.62 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.0008726/0.0008729, allocations: 108.8 kB / 0.7432 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 16.39 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001427/0.2055, allocations: 1.142 MB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2086, allocations: 2.736 MB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.2087, allocations: 0 / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.2087, allocations: 3.984 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.2088, allocations: 15.86 kB / 0.9825 GB, free: 24.26 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.002536/0.2113, allocations: 1.3 MB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.2114, allocations: 39.73 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.2114, allocations: 0 / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.2114, allocations: 15.92 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.23e-05/0.2115, allocations: 19.92 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.2115, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2128, allocations: 1.236 MB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.2129, allocations: 7.922 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.2129, allocations: 29.7 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.2136, allocations: 0.6982 MB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2136, allocations: 4 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2136, allocations: 0 / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2136, allocations: 0 / 0.9858 GB, free: 20.93 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.0004261/0.2141, allocations: 0.503 MB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2141, allocations: 8.031 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.2142, allocations: 88.12 kB / 0.9864 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2143, allocations: 251.5 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2143, allocations: 154.9 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.2143, allocations: 154.9 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.642e-05/0.2144, allocations: 109.1 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2144, allocations: 79.28 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.2144, allocations: 154.6 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.2145, allocations: 154.5 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.2145, allocations: 150.6 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.2147, allocations: 465.9 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.2148, allocations: 169.1 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.2148, allocations: 80.14 kB / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2148, allocations: 75.28 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2148, allocations: 113.8 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.2148, allocations: 0 / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.737e-05/0.2149, allocations: 37.53 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.215, allocations: 134.7 kB / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.2151, allocations: 125.8 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.2151, allocations: 29.7 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.2151, allocations: 92.08 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.2151, allocations: 0 / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.2151, allocations: 3.938 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.2152, allocations: 318.8 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.2152, allocations: 4 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.2152, allocations: 8 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.2152, allocations: 12.86 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2153, allocations: 0 / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.573e-05/0.2154, allocations: 57.47 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.2154, allocations: 6.188 kB / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.2154, allocations: 4 kB / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2154, allocations: 0 / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.2154, allocations: 0 / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2154, allocations: 0 / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.2154, allocations: 0 / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2155, allocations: 8.062 kB / 0.9892 GB, free: 17.21 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 5.368e-05/0.2155, allocations: 189.1 kB / 0.9894 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2156, allocations: 112.8 kB / 0.9895 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.2156, allocations: 112.8 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.2156, allocations: 184.3 kB / 0.9898 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.2156, allocations: 180.2 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.2157, allocations: 180.3 kB / 0.9901 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2158, allocations: 417.2 kB / 0.9905 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.2158, allocations: 108.9 kB / 0.9906 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.2158, allocations: 105 kB / 0.9907 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/0.2159, allocations: 180.2 kB / 0.9909 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.2159, allocations: 184.3 kB / 0.9911 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/0.2159, allocations: 184.2 kB / 0.9913 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-05/0.216, allocations: 180.2 kB / 0.9914 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.067e-05/0.216, allocations: 307.7 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.2161, allocations: 194 kB / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.2161, allocations: 176.3 kB / 0.9921 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.2162, allocations: 108.9 kB / 0.9922 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.2162, allocations: 176.3 kB / 0.9923 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2162, allocations: 104.9 kB / 0.9924 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.2163, allocations: 103.2 kB / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2163, allocations: 0 / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005338/0.2168, allocations: 283.7 kB / 0.9928 GB, free: 13.3 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.0008465/0.2177, allocations: 0.5207 MB / 0.9933 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.878e-05/0.2177, allocations: 37.7 kB / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2178, allocations: 0 / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.2178, allocations: 0 / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2181, allocations: 0.538 MB / 0.9939 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.2183, allocations: 259.6 kB / 0.9941 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2184, allocations: 0.6809 MB / 0.9948 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.2184, allocations: 0 / 0.9948 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-06/0.2185, allocations: 11.44 kB / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2185, allocations: 0 / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.007337/0.2258, allocations: 5.552 MB / 1 GB, free: 5.691 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)