Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.3 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007684/0.0007685, allocations: 88.19 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 11.09 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 106.3 MB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001452/0.1971, allocations: 1.15 MB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.2005, allocations: 2.758 MB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.2006, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.2006, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.2007, allocations: 19.84 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.003303/0.204, allocations: 1.318 MB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.2041, allocations: 43.67 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.2041, allocations: 7.984 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.2042, allocations: 12 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.674e-05/0.2042, allocations: 23.86 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.2043, allocations: 0 / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.206, allocations: 1.264 MB / 0.9068 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.206, allocations: 4 kB / 0.9068 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2061, allocations: 33.64 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.2071, allocations: 0.7255 MB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2071, allocations: 3.938 kB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2071, allocations: 0 / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2071, allocations: 4 kB / 0.9076 GB, free: 56.39 MB / 0.6042 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.0005822/0.2077, allocations: 0.5106 MB / 0.9081 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2078, allocations: 8.031 kB / 0.9081 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.2078, allocations: 105.8 kB / 0.9082 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.2079, allocations: 83.23 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.208, allocations: 250.2 kB / 0.9085 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.208, allocations: 150.6 kB / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.208, allocations: 154.6 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.386e-05/0.2081, allocations: 108.9 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2081, allocations: 79.28 kB / 0.9089 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.2081, allocations: 150.6 kB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.2082, allocations: 154.5 kB / 0.9092 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.2082, allocations: 154.6 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.2084, allocations: 461.9 kB / 0.9098 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.2085, allocations: 169.1 kB / 0.91 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.2085, allocations: 80.14 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.2085, allocations: 75.28 kB / 0.9101 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2085, allocations: 117.8 kB / 0.9102 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2086, allocations: 0 / 0.9102 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.362e-05/0.2086, allocations: 33.59 kB / 0.9103 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.2087, allocations: 130.6 kB / 0.9104 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2088, allocations: 136.3 kB / 0.9105 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.2088, allocations: 25.7 kB / 0.9106 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.2088, allocations: 88.14 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2088, allocations: 8 kB / 0.9107 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.2089, allocations: 0 / 0.9107 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.2089, allocations: 318.8 kB / 0.911 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.2089, allocations: 4 kB / 0.911 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.209, allocations: 8 kB / 0.911 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.209, allocations: 4 kB / 0.911 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.209, allocations: 0 / 0.911 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001159/0.2091, allocations: 57.66 kB / 0.911 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2091, allocations: 4 kB / 0.911 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.2092, allocations: 12 kB / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2092, allocations: 0 / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.2092, allocations: 0 / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2092, allocations: 3.938 kB / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.2092, allocations: 11.8 kB / 0.9111 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2092, allocations: 4 kB / 0.9111 GB, free: 52.55 MB / 0.6042 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 6.206e-05/0.2093, allocations: 185.1 kB / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.2094, allocations: 112.9 kB / 0.9113 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.2094, allocations: 108.9 kB / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.2094, allocations: 184.2 kB / 0.9116 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.2095, allocations: 176.3 kB / 0.9118 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.2095, allocations: 188.2 kB / 0.912 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2096, allocations: 417.2 kB / 0.9124 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.2097, allocations: 105 kB / 0.9125 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.2097, allocations: 104.9 kB / 0.9126 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.527e-05/0.2097, allocations: 176.3 kB / 0.9127 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2097, allocations: 188.2 kB / 0.9129 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.42e-05/0.2098, allocations: 180.2 kB / 0.9131 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.382e-05/0.2098, allocations: 180.2 kB / 0.9133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.202e-05/0.2099, allocations: 311.7 kB / 0.9136 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2099, allocations: 193.9 kB / 0.9137 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.21, allocations: 176.5 kB / 0.9139 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.21, allocations: 105 kB / 0.914 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.2101, allocations: 188.2 kB / 0.9142 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.2101, allocations: 101 kB / 0.9143 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.2101, allocations: 103.2 kB / 0.9144 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2101, allocations: 0 / 0.9144 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00072/0.2109, allocations: 275.8 kB / 0.9146 GB, free: 48.65 MB / 0.6042 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.001193/0.2121, allocations: 1.178 MB / 0.9158 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.2122, allocations: 37.7 kB / 0.9158 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2122, allocations: 0 / 0.9158 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.2122, allocations: 8 kB / 0.9158 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2125, allocations: 0.5263 MB / 0.9164 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.2133, allocations: 0.691 MB / 0.917 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2135, allocations: 0.6887 MB / 0.9177 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.518e-05/0.2135, allocations: 0 / 0.9177 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.2135, allocations: 15.5 kB / 0.9177 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2135, allocations: 0 / 0.9177 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.2328, allocations: 6.986 MB / 0.9245 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.2331, allocations: 330.1 kB / 0.9249 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.051, allocations: 6.938 kB / 0.9249 GB, free: 38.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)