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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.007243/0.007243, allocations: 102.2 kB / 15.73 MB, free: 6.449 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.002109/0.002109, allocations: 199.4 kB / 16.68 MB, free: 6.352 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.704/2.704, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.12 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003145/0.3163, allocations: 1.438 MB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004644/0.321, allocations: 2.899 MB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.3211, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.3212, allocations: 7.922 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.3213, allocations: 11.86 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.3253, allocations: 1.599 MB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.3254, allocations: 47.66 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.3255, allocations: 4 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.3255, allocations: 19.92 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.3255, allocations: 15.94 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.3255, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.328, allocations: 1.533 MB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.328, allocations: 4 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.3281, allocations: 19.86 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.3296, allocations: 1.118 MB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3296, allocations: 3.938 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3296, allocations: 0 / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3296, allocations: 4 kB / 1.175 GB, free: 14.55 MB / 0.9356 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.0006488/0.3303, allocations: 0.5247 MB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3304, allocations: 12.03 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.103e-05/0.3304, allocations: 110 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.3305, allocations: 84.17 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.3307, allocations: 257.1 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.3308, allocations: 150.9 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.3308, allocations: 158.9 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.3309, allocations: 104.9 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.331, allocations: 75.28 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.331, allocations: 158.5 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.338e-05/0.3311, allocations: 150.6 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.3312, allocations: 158.6 kB / 1.177 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.3315, allocations: 461.9 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3316, allocations: 169.1 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.3317, allocations: 80.14 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.3317, allocations: 83.22 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.3318, allocations: 105.8 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3318, allocations: 0 / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.161e-05/0.3319, allocations: 37.59 kB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3319, allocations: 134.7 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3321, allocations: 132.2 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3321, allocations: 25.7 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.3322, allocations: 96.09 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3322, allocations: 0 / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.3322, allocations: 21.75 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3324, allocations: 318.8 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.3324, allocations: 8 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.3324, allocations: 4 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.3325, allocations: 16.84 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3325, allocations: 0 / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001264/0.3326, allocations: 53.58 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3326, allocations: 8.062 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3326, allocations: 4 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3327, allocations: 0 / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3327, allocations: 0 / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3327, allocations: 4 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.3327, allocations: 3.953 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.3327, allocations: 0 / 1.178 GB, free: 10.67 MB / 0.9356 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.0001066/0.3328, allocations: 189.1 kB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.3329, allocations: 116.8 kB / 1.179 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.333, allocations: 116.8 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.906e-05/0.333, allocations: 176.3 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-05/0.3331, allocations: 188.2 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.13e-05/0.3332, allocations: 180.3 kB / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.3335, allocations: 417.2 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/0.3335, allocations: 112.9 kB / 1.18 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.3336, allocations: 105 kB / 1.18 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.448e-05/0.3336, allocations: 184.2 kB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.3337, allocations: 176.3 kB / 1.18 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-05/0.3338, allocations: 180.3 kB / 1.18 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.3339, allocations: 184.2 kB / 1.181 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.334, allocations: 311.7 kB / 1.181 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.3341, allocations: 186 kB / 1.181 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-05/0.3342, allocations: 180.3 kB / 1.181 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.3343, allocations: 108.9 kB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.3344, allocations: 184.2 kB / 1.181 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.3344, allocations: 108.9 kB / 1.182 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.3345, allocations: 99.17 kB / 1.182 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3345, allocations: 0 / 1.182 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000903/0.3354, allocations: 291 kB / 1.182 GB, free: 6.727 MB / 0.9356 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.001504/0.3369, allocations: 1.178 MB / 1.183 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.3371, allocations: 41.64 kB / 1.183 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3371, allocations: 0 / 1.183 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.3371, allocations: 8.062 kB / 1.183 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.3376, allocations: 465.7 kB / 1.184 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3391, allocations: 1.594 MB / 1.185 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3394, allocations: 0.6846 MB / 1.186 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.3395, allocations: 0 / 1.186 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.3395, allocations: 23.42 kB / 1.186 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3395, allocations: 0 / 1.186 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.3702, allocations: 7.086 MB / 1.193 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.656, allocations: 7.469 kB / 1.193 GB, free: 11.72 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)