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.InternalResistancesOneUTube.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.005703/0.005703, allocations: 98.77 kB / 15.73 MB, free: 6.031 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.001304/0.001304, allocations: 193.8 kB / 16.67 MB, free: 5.953 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.643/2.643, allocations: 472.7 MB / 0.7453 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.89 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8546/0.856, allocations: 159.9 MB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002262/0.8583, allocations: 1.423 MB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.8619, allocations: 2.88 MB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.862, allocations: 0 / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.862, allocations: 3.938 kB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.8621, allocations: 19.84 kB / 1.229 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.8653, allocations: 1.551 MB / 1.231 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.8654, allocations: 43.73 kB / 1.231 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.8655, allocations: 3.938 kB / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.8655, allocations: 23.91 kB / 1.231 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.8655, allocations: 15.88 kB / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.8655, allocations: 0 / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.8674, allocations: 1.486 MB / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.8674, allocations: 0 / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.8674, allocations: 19.88 kB / 1.233 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.8686, allocations: 1.091 MB / 1.234 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8686, allocations: 8 kB / 1.234 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8686, allocations: 0 / 1.234 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8686, allocations: 0 / 1.234 GB, free: 4.82 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.0004919/0.8691, allocations: 0.5208 MB / 1.234 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8692, allocations: 8.031 kB / 1.234 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.8692, allocations: 110 kB / 1.234 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.8693, allocations: 84.17 kB / 1.234 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.8694, allocations: 253 kB / 1.235 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.8695, allocations: 154.9 kB / 1.235 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.8695, allocations: 158.9 kB / 1.235 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.401e-05/0.8696, allocations: 104.9 kB / 1.235 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.8696, allocations: 75.28 kB / 1.235 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.8697, allocations: 150.6 kB / 1.235 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.8697, allocations: 150.6 kB / 1.235 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.8697, allocations: 154.6 kB / 1.235 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.87, allocations: 465.9 kB / 1.236 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.8701, allocations: 177.1 kB / 1.236 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.8701, allocations: 80.14 kB / 1.236 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.8701, allocations: 87.22 kB / 1.236 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.8702, allocations: 105.8 kB / 1.236 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.8702, allocations: 0 / 1.236 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.872e-05/0.8702, allocations: 33.66 kB / 1.236 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.8703, allocations: 134.6 kB / 1.237 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.8704, allocations: 131.4 kB / 1.237 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.8704, allocations: 29.7 kB / 1.237 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.8705, allocations: 84.14 kB / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.8705, allocations: 0 / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.8705, allocations: 21.72 kB / 1.237 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.8706, allocations: 314.8 kB / 1.237 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.8706, allocations: 8 kB / 1.237 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.8707, allocations: 8.031 kB / 1.237 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.8707, allocations: 8.859 kB / 1.237 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8707, allocations: 4.031 kB / 1.237 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/0.8708, allocations: 57.52 kB / 1.237 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.8709, allocations: 11.94 kB / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.8709, allocations: 0 / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8709, allocations: 4 kB / 1.237 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.8709, allocations: 0 / 1.237 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8709, allocations: 0 / 1.237 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.8709, allocations: 0 / 1.237 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.8709, allocations: 0 / 1.237 GB, free: 0.9531 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.114e-05/0.871, allocations: 198 kB / 1.237 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.8711, allocations: 112.9 kB / 1.237 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.8711, allocations: 112.8 kB / 1.238 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.779e-05/0.8712, allocations: 180.3 kB / 1.238 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.297e-05/0.8712, allocations: 176.3 kB / 1.238 GB, free: 152 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.438e-05/0.8713, allocations: 192.2 kB / 1.238 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.8715, allocations: 413.2 kB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.8715, allocations: 108.9 kB / 1.239 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.8716, allocations: 101 kB / 1.239 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.938e-05/0.8716, allocations: 176.3 kB / 1.239 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.8717, allocations: 188.1 kB / 1.239 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-05/0.8717, allocations: 184.3 kB / 1.239 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-05/0.8718, allocations: 184.2 kB / 1.239 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.8719, allocations: 315.6 kB / 1.24 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.872, allocations: 186 kB / 1.24 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.872, allocations: 176.3 kB / 1.24 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.8721, allocations: 108.9 kB / 1.24 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.8722, allocations: 176.3 kB / 1.24 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.8722, allocations: 116.9 kB / 1.24 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.8723, allocations: 101.5 kB / 1.241 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8723, allocations: 0 / 1.241 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005875/0.8729, allocations: 283 kB / 1.241 GB, free: 13.02 MB / 0.9669 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.001128/0.874, allocations: 1.166 MB / 1.242 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.8741, allocations: 33.7 kB / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8741, allocations: 0 / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.8741, allocations: 7.938 kB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.8745, allocations: 471.7 kB / 1.242 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.8757, allocations: 1.58 MB / 1.244 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.8759, allocations: 0.6884 MB / 1.245 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.218e-05/0.8759, allocations: 4.031 kB / 1.245 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.8759, allocations: 23.36 kB / 1.245 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.8759, allocations: 0 / 1.245 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08497/0.9609, allocations: 6.876 MB / 1.251 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.15, allocations: 11.05 kB / 1.251 GB, free: 2.242 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)