Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_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_10_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.008762/0.008762, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001992/0.001993, allocations: 196.9 kB / 16.68 MB, free: 5.973 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 72.11 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.9604, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002745/0.9632, allocations: 1.439 MB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004564/0.9678, allocations: 2.856 MB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.9679, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.9679, allocations: 11.92 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.968, allocations: 11.86 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.972, allocations: 1.571 MB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.9721, allocations: 47.66 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.9722, allocations: 4 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.9722, allocations: 15.94 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.9722, allocations: 15.92 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.9723, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.9746, allocations: 1.482 MB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.9746, allocations: 11.92 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.9746, allocations: 19.88 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.9761, allocations: 1.083 MB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9761, allocations: 0 / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9762, allocations: 0 / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.9762, allocations: 4 kB / 1.175 GB, free: 11.22 MB / 0.9044 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.0006669/0.9768, allocations: 0.5363 MB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9769, allocations: 8.625 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.43e-05/0.977, allocations: 106 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.977, allocations: 84.17 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.9772, allocations: 251.5 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.9773, allocations: 150.9 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.9774, allocations: 154.9 kB / 1.176 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.9775, allocations: 112.8 kB / 1.176 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.9775, allocations: 75.28 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.9776, allocations: 150.6 kB / 1.176 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.9777, allocations: 154.6 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.9778, allocations: 162.5 kB / 1.176 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.9781, allocations: 461.9 kB / 1.177 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.9782, allocations: 169.1 kB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.9783, allocations: 80.14 kB / 1.177 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.9783, allocations: 79.22 kB / 1.177 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.9784, allocations: 109.8 kB / 1.177 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9784, allocations: 0 / 1.177 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.358e-05/0.9785, allocations: 33.66 kB / 1.177 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.9786, allocations: 126.7 kB / 1.177 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.9787, allocations: 133.7 kB / 1.178 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.9788, allocations: 29.64 kB / 1.178 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.9788, allocations: 92.12 kB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.9788, allocations: 4 kB / 1.178 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.9789, allocations: 21.66 kB / 1.178 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.979, allocations: 326.8 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.9791, allocations: 0 / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.9791, allocations: 4.031 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.9791, allocations: 12.86 kB / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9791, allocations: 0 / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.9793, allocations: 53.58 kB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.9793, allocations: 10.56 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.9793, allocations: 4 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9793, allocations: 0 / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.9793, allocations: 0 / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.9794, allocations: 0 / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.9794, allocations: 3.938 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.9794, allocations: 4 kB / 1.178 GB, free: 7.336 MB / 0.9044 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 0.0001219/0.9795, allocations: 185.1 kB / 1.178 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.9796, allocations: 120.9 kB / 1.178 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.751e-05/0.9797, allocations: 108.8 kB / 1.179 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.309e-05/0.9798, allocations: 188.2 kB / 1.179 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.454e-05/0.9799, allocations: 180.3 kB / 1.179 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.232e-05/0.9799, allocations: 180.2 kB / 1.179 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.9802, allocations: 417.1 kB / 1.179 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.9803, allocations: 105 kB / 1.18 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.9804, allocations: 108.9 kB / 1.18 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.381e-05/0.9804, allocations: 180.3 kB / 1.18 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/0.9805, allocations: 184.2 kB / 1.18 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.605e-05/0.9806, allocations: 180.2 kB / 1.18 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.87e-05/0.9807, allocations: 180.3 kB / 1.18 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.9809, allocations: 315.7 kB / 1.181 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.981, allocations: 186 kB / 1.181 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/0.9811, allocations: 176.3 kB / 1.181 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.9812, allocations: 105 kB / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.9813, allocations: 184.2 kB / 1.181 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.9813, allocations: 105 kB / 1.181 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.9814, allocations: 103.2 kB / 1.181 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9814, allocations: 0 / 1.181 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007403/0.9821, allocations: 287 kB / 1.182 GB, free: 3.406 MB / 0.9044 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.001458/0.9836, allocations: 1.164 MB / 1.183 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.9837, allocations: 37.7 kB / 1.183 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9837, allocations: 0 / 1.183 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.9838, allocations: 3.938 kB / 1.183 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.9842, allocations: 463.7 kB / 1.183 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.9858, allocations: 1.597 MB / 1.185 GB, free: 32 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.9861, allocations: 0.6807 MB / 1.186 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.9861, allocations: 0 / 1.186 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.9862, allocations: 11.44 kB / 1.186 GB, free: 15.31 MB / 0.92 GB Notification: Performance of SimCode: time 1.994e-06/0.9862, allocations: 8.031 kB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/1.02, allocations: 6.872 MB / 1.192 GB, free: 8.652 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/9.349, allocations: 8.594 kB / 1.192 GB, free: 8.648 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)