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.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 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_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_9_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.006425/0.006425, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001528/0.001529, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.53 kB / 0.9505 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.283, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002497/0.2855, allocations: 1.441 MB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004347/0.2899, allocations: 2.885 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.29, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.2901, allocations: 7.922 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.2901, allocations: 15.86 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.2942, allocations: 1.591 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2943, allocations: 43.67 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.2944, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.2944, allocations: 11.94 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.958e-05/0.2944, allocations: 19.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2944, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.297, allocations: 1.533 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.297, allocations: 3.938 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.2971, allocations: 23.88 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.299, allocations: 1.096 MB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.299, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.299, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.299, allocations: 4 kB / 1.096 GB, free: 9.285 MB / 0.8575 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.0009102/0.2999, allocations: 0.5184 MB / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3, allocations: 12.03 kB / 1.097 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.3001, allocations: 110 kB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.3001, allocations: 84.12 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3003, allocations: 253.5 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.3004, allocations: 154.9 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.3005, allocations: 150.9 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.656e-05/0.3005, allocations: 104.9 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.3006, allocations: 75.28 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.3007, allocations: 158.5 kB / 1.098 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.3007, allocations: 150.6 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.3008, allocations: 150.6 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.3011, allocations: 469.8 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.3012, allocations: 181.1 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.3012, allocations: 80.14 kB / 1.099 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.3013, allocations: 79.22 kB / 1.099 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.3013, allocations: 105.8 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3013, allocations: 0 / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.648e-05/0.3014, allocations: 33.64 kB / 1.099 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.3015, allocations: 130.7 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3016, allocations: 135.9 kB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3017, allocations: 25.7 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.3017, allocations: 100.1 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3017, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3018, allocations: 13.72 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3019, allocations: 322.9 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.3019, allocations: 8 kB / 1.099 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.302, allocations: 12 kB / 1.099 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.302, allocations: 8.859 kB / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.302, allocations: 0 / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001551/0.3022, allocations: 61.62 kB / 1.1 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3022, allocations: 4 kB / 1.1 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.3022, allocations: 4 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3022, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.3023, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3023, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.3023, allocations: 7.906 kB / 1.1 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3023, allocations: 8.062 kB / 1.1 GB, free: 5.398 MB / 0.8575 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.0001018/0.3024, allocations: 181.1 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.3025, allocations: 112.8 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.3025, allocations: 112.8 kB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/0.3026, allocations: 180.3 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/0.3027, allocations: 188.1 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/0.3027, allocations: 180.3 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.303, allocations: 417.1 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/0.303, allocations: 104.9 kB / 1.101 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.3031, allocations: 105 kB / 1.101 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.617e-05/0.3031, allocations: 184.2 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.3032, allocations: 180.3 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.167e-05/0.3033, allocations: 180.2 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.549e-05/0.3034, allocations: 180.2 kB / 1.102 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3035, allocations: 311.7 kB / 1.102 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.3036, allocations: 186 kB / 1.102 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.3037, allocations: 192.2 kB / 1.102 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.3038, allocations: 101 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.3038, allocations: 176.3 kB / 1.103 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3039, allocations: 108.9 kB / 1.103 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.304, allocations: 103.2 kB / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.304, allocations: 3.938 kB / 1.103 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008941/0.3049, allocations: 283.8 kB / 1.103 GB, free: 1.48 MB / 0.8575 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.001576/0.3065, allocations: 1.171 MB / 1.104 GB, free: 292 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3066, allocations: 49.62 kB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3066, allocations: 0 / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.3066, allocations: 368 / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.307, allocations: 464.3 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3086, allocations: 1.601 MB / 1.106 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3089, allocations: 0.6885 MB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.3089, allocations: 0 / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.309, allocations: 11.44 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.309, allocations: 0 / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.3379, allocations: 7.067 MB / 1.114 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.374, allocations: 17.69 kB / 1.114 GB, free: 6.504 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)