Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001429/0.001429, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.8127 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6546, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002357/0.657, allocations: 1.37 MB / 0.9511 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.6592, allocations: 1.787 MB / 0.9529 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.6593, allocations: 0 / 0.9529 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.6594, allocations: 9.078 kB / 0.9529 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.6595, allocations: 30.3 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.6619, allocations: 1.134 MB / 0.954 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.662, allocations: 46.67 kB / 0.954 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.662, allocations: 2.844 kB / 0.9541 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.6621, allocations: 27.16 kB / 0.9541 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.6622, allocations: 27.09 kB / 0.9541 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.6622, allocations: 1.25 kB / 0.9541 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.6632, allocations: 0.8495 MB / 0.9549 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.6633, allocations: 29.72 kB / 0.955 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.6634, allocations: 20.88 kB / 0.955 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008022/0.6642, allocations: 0.7994 MB / 0.9558 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6642, allocations: 0 / 0.9558 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6642, allocations: 1.781 kB / 0.9558 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6642, allocations: 0 / 0.9558 GB, free: 4.914 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004404/0.6646, allocations: 477.2 kB / 0.9562 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6647, allocations: 9.625 kB / 0.9562 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.6647, allocations: 40.12 kB / 0.9563 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.6647, allocations: 8.969 kB / 0.9563 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6649, allocations: 191.5 kB / 0.9565 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.6649, allocations: 5.5 kB / 0.9565 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.6649, allocations: 0 / 0.9565 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.665, allocations: 52.94 kB / 0.9565 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.665, allocations: 1.375 kB / 0.9565 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.665, allocations: 4 kB / 0.9565 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.665, allocations: 0 / 0.9565 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.6651, allocations: 31.16 kB / 0.9565 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.6652, allocations: 195.8 kB / 0.9567 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.6653, allocations: 49.7 kB / 0.9568 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.6653, allocations: 33.47 kB / 0.9568 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.6653, allocations: 5.312 kB / 0.9568 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.6653, allocations: 30.56 kB / 0.9568 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.6654, allocations: 0 / 0.9568 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0001837/0.6655, allocations: 121.7 kB / 0.957 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.6656, allocations: 60.66 kB / 0.957 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.6657, allocations: 152 kB / 0.9572 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.6657, allocations: 31.05 kB / 0.9572 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.6657, allocations: 92.55 kB / 0.9573 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.6658, allocations: 29.91 kB / 0.9573 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.6658, allocations: 14.56 kB / 0.9573 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.6658, allocations: 330.1 kB / 0.9576 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.6659, allocations: 30.17 kB / 0.9577 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.6659, allocations: 23.59 kB / 0.9577 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.666, allocations: 60.73 kB / 0.9578 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.666, allocations: 1.125 kB / 0.9578 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.613e-05/0.6661, allocations: 92.7 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6661, allocations: 4.719 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6661, allocations: 5 kB / 0.9579 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6662, allocations: 1.125 kB / 0.9579 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.6662, allocations: 0 / 0.9579 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.6662, allocations: 1.812 kB / 0.9579 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.6662, allocations: 7.969 kB / 0.9579 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.6662, allocations: 1.406 kB / 0.9579 GB, free: 2.957 MB / 0.7169 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 5.555e-05/0.6663, allocations: 124.3 kB / 0.958 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.6663, allocations: 11.83 kB / 0.958 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.6664, allocations: 107.5 kB / 0.9581 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6664, allocations: 1.062 kB / 0.9581 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6665, allocations: 0 / 0.9581 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.6665, allocations: 0 / 0.9581 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.6666, allocations: 201.6 kB / 0.9583 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6666, allocations: 1.094 kB / 0.9583 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.6666, allocations: 0 / 0.9583 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.6666, allocations: 1.094 kB / 0.9583 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6666, allocations: 1.188 kB / 0.9583 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.6666, allocations: 3.938 kB / 0.9583 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6666, allocations: 3.938 kB / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.6667, allocations: 122.5 kB / 0.9584 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.6667, allocations: 83.61 kB / 0.9585 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.6668, allocations: 11.94 kB / 0.9585 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.6668, allocations: 4.844 kB / 0.9585 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.6668, allocations: 0.75 kB / 0.9585 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.6668, allocations: 5.828 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.6669, allocations: 120.6 kB / 0.9586 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6669, allocations: 0 / 0.9586 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000541/0.6674, allocations: 204.2 kB / 0.9588 GB, free: 2.191 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0008351/0.6683, allocations: 0.8849 MB / 0.9597 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.6684, allocations: 92.86 kB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6684, allocations: 0 / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.6685, allocations: 71.56 kB / 0.9598 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.6687, allocations: 13.36 kB / 0.9599 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.6698, allocations: 1.601 MB / 0.9614 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.6701, allocations: 0.7109 MB / 0.9621 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.6701, allocations: 1.062 kB / 0.9621 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.6701, allocations: 16.5 kB / 0.9621 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6701, allocations: 1.094 kB / 0.9621 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.6932, allocations: 5.953 MB / 0.968 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.536, allocations: 15.08 kB / 0.968 GB, free: 12.3 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)