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.007269/0.007269, allocations: 100.9 kB / 15.73 MB, free: 6 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.001273/0.001273, allocations: 189.2 kB / 16.67 MB, free: 5.934 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.351/1.351, 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 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437.1 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 71.81 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2858, allocations: 151.6 MB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002361/0.2882, allocations: 1.44 MB / 1.168 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003984/0.2922, allocations: 2.899 MB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.2923, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.2923, allocations: 3.938 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.2924, allocations: 19.84 kB / 1.171 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.2961, allocations: 1.599 MB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.579e-05/0.2962, allocations: 43.67 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.2962, allocations: 4 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.2963, allocations: 15.92 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.2963, allocations: 27.86 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2963, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.2984, allocations: 1.533 MB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.2985, allocations: 4 kB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.2985, allocations: 23.86 kB / 1.174 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3001, allocations: 1.114 MB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3001, allocations: 0 / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3001, allocations: 0 / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3001, allocations: 0 / 1.175 GB, free: 14.68 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.0006355/0.3007, allocations: 0.5364 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3008, allocations: 8.031 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.3008, allocations: 106 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.3009, allocations: 84.17 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.301, allocations: 251.5 kB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.3011, allocations: 150.9 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.3011, allocations: 154.9 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.437e-05/0.3012, allocations: 108.9 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.3012, allocations: 75.28 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.3013, allocations: 162.5 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.3014, allocations: 154.6 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.3014, allocations: 150.6 kB / 1.177 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.3017, allocations: 465.9 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.3018, allocations: 169.1 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.3018, allocations: 80.14 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3018, allocations: 79.22 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3019, allocations: 113.8 kB / 1.178 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3019, allocations: 0 / 1.178 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.944e-05/0.3019, allocations: 29.66 kB / 1.178 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.302, allocations: 126.7 kB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3021, allocations: 136 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3021, allocations: 25.7 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.3022, allocations: 100.1 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3022, allocations: 4 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3022, allocations: 13.77 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.3023, allocations: 326.8 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.3024, allocations: 4 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.3024, allocations: 8 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.3024, allocations: 16.92 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3024, allocations: 0 / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001137/0.3025, allocations: 53.62 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3026, allocations: 8 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3026, allocations: 4.062 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3026, allocations: 7.938 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.3026, allocations: 0 / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3026, allocations: 0 / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.3026, allocations: 3.953 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.3027, allocations: 3.938 kB / 1.178 GB, free: 10.78 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 8.116e-05/0.3027, allocations: 186.9 kB / 1.179 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.3028, allocations: 112.9 kB / 1.179 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.3029, allocations: 112.8 kB / 1.179 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/0.3029, allocations: 184.2 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.857e-05/0.303, allocations: 180.3 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.664e-05/0.303, allocations: 180.2 kB / 1.179 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3032, allocations: 417.1 kB / 1.18 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/0.3033, allocations: 112.9 kB / 1.18 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.3033, allocations: 104.9 kB / 1.18 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.912e-05/0.3033, allocations: 176.3 kB / 1.18 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.3034, allocations: 180.2 kB / 1.18 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.731e-05/0.3035, allocations: 184.2 kB / 1.18 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.496e-05/0.3035, allocations: 176.3 kB / 1.181 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.3036, allocations: 311.7 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.3037, allocations: 198 kB / 1.181 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.3038, allocations: 180.3 kB / 1.181 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3038, allocations: 101 kB / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.3039, allocations: 192.2 kB / 1.181 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.3039, allocations: 105 kB / 1.182 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.304, allocations: 105 kB / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.304, allocations: 0 / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000707/0.3047, allocations: 291 kB / 1.182 GB, free: 6.844 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.001321/0.306, allocations: 1.185 MB / 1.183 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.3061, allocations: 45.69 kB / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3062, allocations: 0 / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.3062, allocations: 0 / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3065, allocations: 467.7 kB / 1.184 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3078, allocations: 1.591 MB / 1.185 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.308, allocations: 0.6846 MB / 1.186 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.308, allocations: 4.031 kB / 1.186 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3081, allocations: 19.38 kB / 1.186 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.3081, allocations: 0 / 1.186 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3321, allocations: 7.073 MB / 1.193 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.133, allocations: 12.48 kB / 1.193 GB, free: 11.84 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)