Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007176/0.007176, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001561/0.001561, allocations: 193.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.592/2.592, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.84 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7401, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002321/0.7425, allocations: 1.439 MB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.7465, allocations: 2.908 MB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.7466, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.7466, allocations: 3.938 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.7467, allocations: 15.86 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.7504, allocations: 1.584 MB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.7505, allocations: 39.73 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.7505, allocations: 4 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.7505, allocations: 23.84 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.754e-05/0.7506, allocations: 19.88 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.7506, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.7527, allocations: 1.525 MB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.7527, allocations: 11.97 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.7527, allocations: 19.88 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.7542, allocations: 1.124 MB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7542, allocations: 4 kB / 1.228 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7542, allocations: 0 / 1.228 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7542, allocations: 0 / 1.228 GB, free: 9.539 MB / 0.9512 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.000612/0.7548, allocations: 0.5307 MB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7549, allocations: 8.625 kB / 1.229 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.7549, allocations: 106 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.755, allocations: 84.17 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.7551, allocations: 259.5 kB / 1.229 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.7552, allocations: 150.9 kB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.7552, allocations: 150.9 kB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.27e-05/0.7553, allocations: 112.9 kB / 1.23 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.7553, allocations: 79.28 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.7554, allocations: 150.6 kB / 1.23 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.7554, allocations: 158.5 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.7555, allocations: 150.6 kB / 1.23 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.7557, allocations: 469.8 kB / 1.231 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.751e-05/0.7558, allocations: 169.1 kB / 1.231 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.7558, allocations: 84.14 kB / 1.231 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.7559, allocations: 79.22 kB / 1.231 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.7559, allocations: 113.8 kB / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7559, allocations: 0 / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.833e-05/0.756, allocations: 29.7 kB / 1.231 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.756, allocations: 134.6 kB / 1.231 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7562, allocations: 136 kB / 1.231 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.7562, allocations: 25.7 kB / 1.231 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.7562, allocations: 92.16 kB / 1.231 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.7562, allocations: 4 kB / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.7563, allocations: 21.7 kB / 1.231 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.7564, allocations: 310.8 kB / 1.232 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.7564, allocations: 8 kB / 1.232 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.7564, allocations: 7.984 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.7565, allocations: 20.89 kB / 1.232 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7565, allocations: 4.062 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001202/0.7566, allocations: 53.53 kB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7566, allocations: 11.94 kB / 1.232 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.7566, allocations: 7.938 kB / 1.232 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7567, allocations: 0 / 1.232 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.7567, allocations: 3.984 kB / 1.232 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.7567, allocations: 0 / 1.232 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.7567, allocations: 0 / 1.232 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.7567, allocations: 0 / 1.232 GB, free: 5.637 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/0.7568, allocations: 189.2 kB / 1.232 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.7568, allocations: 112.9 kB / 1.232 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.7569, allocations: 116.8 kB / 1.232 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/0.757, allocations: 180.2 kB / 1.232 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.243e-05/0.757, allocations: 180.3 kB / 1.233 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/0.7571, allocations: 184.2 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.7573, allocations: 417.2 kB / 1.233 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/0.7573, allocations: 104.9 kB / 1.233 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.7574, allocations: 105 kB / 1.233 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/0.7574, allocations: 176.3 kB / 1.234 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.7575, allocations: 184.2 kB / 1.234 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-05/0.7575, allocations: 180.3 kB / 1.234 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.193e-05/0.7576, allocations: 184.2 kB / 1.234 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.7577, allocations: 311.6 kB / 1.234 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.7578, allocations: 182.1 kB / 1.235 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.7578, allocations: 184.3 kB / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.7579, allocations: 108.9 kB / 1.235 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.758, allocations: 184.3 kB / 1.235 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.758, allocations: 104.9 kB / 1.235 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.7581, allocations: 95.27 kB / 1.235 GB, free: 2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7581, allocations: 0 / 1.235 GB, free: 2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006827/0.7588, allocations: 291 kB / 1.236 GB, free: 1.715 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/0.7601, allocations: 1.189 MB / 1.237 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.163e-05/0.7602, allocations: 45.7 kB / 1.237 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7602, allocations: 0 / 1.237 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.7602, allocations: 3.938 kB / 1.237 GB, free: 456 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.7606, allocations: 469.9 kB / 1.237 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.7619, allocations: 1.601 MB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.7621, allocations: 0.6807 MB / 1.239 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.7621, allocations: 7.922 kB / 1.239 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.7621, allocations: 19.44 kB / 1.239 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.7621, allocations: 0 / 1.239 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.7847, allocations: 7.088 MB / 1.246 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/8.339, allocations: 15.02 kB / 1.246 GB, free: 6.68 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)