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.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 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_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_9_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.009219/0.009219, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001979/0.001979, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.41 kB / 0.9505 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2731, allocations: 140.4 MB / 1.088 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002188/0.2753, allocations: 1.432 MB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.279, allocations: 2.854 MB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2791, allocations: 0 / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2791, allocations: 3.938 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.2792, allocations: 15.84 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.2826, allocations: 1.558 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.46e-05/0.2826, allocations: 43.73 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.2827, allocations: 7.984 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.2827, allocations: 11.94 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.767e-05/0.2828, allocations: 15.88 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.2828, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.2846, allocations: 1.489 MB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2846, allocations: 3.984 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.2846, allocations: 23.86 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2858, allocations: 1.069 MB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2858, allocations: 4 kB / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2859, allocations: 0 / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.2859, allocations: 0 / 1.096 GB, free: 9.457 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.0005659/0.2864, allocations: 0.5068 MB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2865, allocations: 12.03 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.2865, allocations: 110 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.2866, allocations: 80.12 kB / 1.097 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2868, allocations: 257 kB / 1.097 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.2868, allocations: 154.9 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.2869, allocations: 154.9 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.573e-05/0.2869, allocations: 108.9 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.287, allocations: 75.28 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.287, allocations: 150.6 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.2871, allocations: 154.6 kB / 1.098 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.2872, allocations: 158.5 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.2874, allocations: 461.9 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.2875, allocations: 173.1 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.2875, allocations: 88.14 kB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.2875, allocations: 79.22 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.2876, allocations: 105.8 kB / 1.099 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2876, allocations: 0 / 1.099 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.896e-05/0.2877, allocations: 37.59 kB / 1.099 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2877, allocations: 126.7 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2878, allocations: 131.9 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.2879, allocations: 33.64 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2879, allocations: 92.05 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.2879, allocations: 0 / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2879, allocations: 17.72 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.288, allocations: 314.8 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.2881, allocations: 8 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.2881, allocations: 4 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.3e-05/0.2881, allocations: 12.86 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2881, allocations: 4.031 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.2882, allocations: 45.62 kB / 1.099 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2883, allocations: 8 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.2883, allocations: 0 / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2883, allocations: 4 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/0.2883, allocations: 3.938 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.2883, allocations: 0 / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.2883, allocations: 7.844 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2884, allocations: 3.984 kB / 1.099 GB, free: 5.598 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 8.386e-05/0.2884, allocations: 193.2 kB / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.2885, allocations: 108.9 kB / 1.1 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.2885, allocations: 108.9 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.603e-05/0.2886, allocations: 180.2 kB / 1.1 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/0.2886, allocations: 180.2 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-05/0.2887, allocations: 188.2 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2889, allocations: 413.2 kB / 1.101 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.2889, allocations: 109 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.289, allocations: 108.9 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.776e-05/0.289, allocations: 184.2 kB / 1.101 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.2891, allocations: 184.2 kB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.023e-05/0.2891, allocations: 184.3 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-05/0.2892, allocations: 180.2 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2893, allocations: 311.7 kB / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.2894, allocations: 189.9 kB / 1.102 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.2895, allocations: 180.3 kB / 1.102 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.2895, allocations: 108.9 kB / 1.102 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.2896, allocations: 180.2 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.2896, allocations: 105 kB / 1.103 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.2897, allocations: 101 kB / 1.103 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2897, allocations: 0 / 1.103 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006159/0.2903, allocations: 271.8 kB / 1.103 GB, free: 1.684 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.001138/0.2915, allocations: 1.16 MB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.2916, allocations: 37.7 kB / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2916, allocations: 0 / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.2916, allocations: 4.062 kB / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.292, allocations: 468.2 kB / 1.105 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2931, allocations: 1.583 MB / 1.106 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2933, allocations: 0.6807 MB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.2934, allocations: 11.88 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.2934, allocations: 15.42 kB / 1.107 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.2934, allocations: 0 / 1.107 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.316, allocations: 6.85 MB / 1.114 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.546, allocations: 14.97 kB / 1.114 GB, free: 6.949 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)