Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007534/0.0007534, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005392, allocations: 19.06 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001335/0.2079, allocations: 1.15 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.2114, allocations: 2.755 MB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.2115, allocations: 0 / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.2115, allocations: 0 / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.2116, allocations: 15.84 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.002792/0.2144, allocations: 1.322 MB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.2144, allocations: 39.73 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.2145, allocations: 8.266 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.2145, allocations: 11.94 kB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.2145, allocations: 23.86 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.2146, allocations: 0 / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2162, allocations: 1.271 MB / 0.7938 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.2162, allocations: 3.984 kB / 0.7938 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.2162, allocations: 29.7 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007937/0.217, allocations: 0.7251 MB / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.217, allocations: 0 / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.217, allocations: 0 / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.217, allocations: 0 / 0.7945 GB, free: 4.516 MB / 0.6075 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.0004815/0.2175, allocations: 0.5106 MB / 0.795 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2176, allocations: 12.03 kB / 0.795 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.2176, allocations: 91.12 kB / 0.7951 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2178, allocations: 241.2 kB / 0.7954 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.2178, allocations: 150.6 kB / 0.7955 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.2179, allocations: 154.6 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.171e-05/0.2179, allocations: 105 kB / 0.7957 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.218, allocations: 87.2 kB / 0.7958 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.218, allocations: 150.6 kB / 0.796 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.2181, allocations: 150.6 kB / 0.7961 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.2181, allocations: 150.6 kB / 0.7963 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.2184, allocations: 469.8 kB / 0.7967 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.2185, allocations: 169.1 kB / 0.7969 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.2185, allocations: 88.06 kB / 0.7969 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2185, allocations: 79.28 kB / 0.797 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.2186, allocations: 109.8 kB / 0.7971 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2186, allocations: 0 / 0.7971 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.443e-05/0.2186, allocations: 29.7 kB / 0.7972 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.2187, allocations: 130.7 kB / 0.7973 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2188, allocations: 137.9 kB / 0.7974 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2189, allocations: 25.7 kB / 0.7974 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2189, allocations: 92.12 kB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.2189, allocations: 0 / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2189, allocations: 0 / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.219, allocations: 318.8 kB / 0.7978 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.2191, allocations: 11.94 kB / 0.7978 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.2191, allocations: 11.94 kB / 0.7979 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.2191, allocations: 4 kB / 0.7979 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2191, allocations: 3.984 kB / 0.7979 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.2192, allocations: 49.61 kB / 0.7979 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2192, allocations: 4 kB / 0.7979 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.2193, allocations: 4 kB / 0.7979 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2193, allocations: 0 / 0.7979 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.045e-06/0.2193, allocations: 4.062 kB / 0.7979 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2193, allocations: 3.938 kB / 0.7979 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.2193, allocations: 4.062 kB / 0.7979 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.2193, allocations: 4 kB / 0.7979 GB, free: 0.7969 MB / 0.6075 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 8.327e-05/0.2194, allocations: 193.1 kB / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.2195, allocations: 112.8 kB / 0.7982 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.2195, allocations: 108.6 kB / 0.7983 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/0.2196, allocations: 184.2 kB / 0.7985 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/0.2196, allocations: 188.2 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/0.2197, allocations: 180.3 kB / 0.7989 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2199, allocations: 417.1 kB / 0.7993 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.2199, allocations: 101 kB / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.22, allocations: 104.9 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.485e-05/0.22, allocations: 188.2 kB / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.2201, allocations: 180.3 kB / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.741e-05/0.2201, allocations: 180.4 kB / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-05/0.2202, allocations: 176.3 kB / 0.8001 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.2203, allocations: 319.7 kB / 0.8004 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.2204, allocations: 186 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2205, allocations: 180.2 kB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.2206, allocations: 105 kB / 0.8009 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.2206, allocations: 184.2 kB / 0.8011 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.2207, allocations: 101 kB / 0.8012 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.2207, allocations: 102.2 kB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2207, allocations: 4 kB / 0.8013 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006325/0.2214, allocations: 279.8 kB / 0.8015 GB, free: 12.88 MB / 0.6231 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.0008861/0.2223, allocations: 0.5229 MB / 0.802 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.741e-05/0.2224, allocations: 45.62 kB / 0.8021 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2224, allocations: 0 / 0.8021 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.2224, allocations: 0 / 0.8021 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.2228, allocations: 0.5303 MB / 0.8026 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.2231, allocations: 267.8 kB / 0.8029 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2233, allocations: 0.6809 MB / 0.8035 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.2233, allocations: 0 / 0.8035 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.2233, allocations: 15.38 kB / 0.8035 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2233, allocations: 0 / 0.8035 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of Templates: time 0.008433/0.2318, allocations: 5.712 MB / 0.8091 GB, free: 5.094 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: