Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 179.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008266, allocations: 99.67 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 10.09 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2819, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001409/0.2833, allocations: 1.066 MB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2847, allocations: 1.024 MB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.2847, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.2848, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.2848, allocations: 19.91 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.2853, allocations: 133 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.2853, allocations: 27.97 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.2854, allocations: 3.984 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.2855, allocations: 15.94 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.2855, allocations: 11.92 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2855, allocations: 0 / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.286, allocations: 395.4 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.286, allocations: 8 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.2861, allocations: 25.7 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2863, allocations: 136 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2863, allocations: 4 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.156e-06/0.2863, allocations: 3.938 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2863, allocations: 0 / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004001/0.2867, allocations: 383.2 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2868, allocations: 12.03 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.2868, allocations: 30.56 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.2868, allocations: 7.891 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2869, allocations: 171 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.287, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.287, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2871, allocations: 45.69 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2871, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2871, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2871, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.2872, allocations: 19.92 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.2874, allocations: 161.7 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.2875, allocations: 38.56 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.2882, allocations: 0.9779 MB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2883, allocations: 42.55 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2883, allocations: 4 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.2884, allocations: 61.53 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.2885, allocations: 55.41 kB / 0.9049 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.2886, allocations: 101.9 kB / 0.905 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2886, allocations: 29.69 kB / 0.9051 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.2886, allocations: 84.14 kB / 0.9051 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2886, allocations: 11.81 kB / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.2886, allocations: 0 / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.2887, allocations: 322.8 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.2887, allocations: 7.984 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.2888, allocations: 4 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.2888, allocations: 8 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2888, allocations: 0 / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.961e-05/0.2889, allocations: 53.62 kB / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2889, allocations: 4 kB / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2889, allocations: 4 kB / 0.9055 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2889, allocations: 0 / 0.9055 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2891, allocations: 19.92 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2891, allocations: 4 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.2891, allocations: 0 / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.2891, allocations: 0 / 0.9056 GB, free: 57.85 MB / 0.6042 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.2892, allocations: 117.8 kB / 0.9057 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.2892, allocations: 3.906 kB / 0.9057 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.2893, allocations: 63.55 kB / 0.9057 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2893, allocations: 4.031 kB / 0.9057 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2894, allocations: 4 kB / 0.9058 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2894, allocations: 7.984 kB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.065e-05/0.2894, allocations: 161.6 kB / 0.9059 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2895, allocations: 0 / 0.9059 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.2895, allocations: 15.94 kB / 0.9059 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2895, allocations: 3.984 kB / 0.9059 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2896, allocations: 4 kB / 0.9059 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2896, allocations: 0 / 0.9059 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2896, allocations: 0 / 0.9059 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.69e-05/0.2897, allocations: 77.08 kB / 0.906 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.2897, allocations: 88.95 kB / 0.9061 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2897, allocations: 4 kB / 0.9061 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.2897, allocations: 0 / 0.9061 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.2898, allocations: 3.938 kB / 0.9061 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2898, allocations: 0 / 0.9061 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.2898, allocations: 95.56 kB / 0.9062 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2898, allocations: 0 / 0.9062 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002176/0.29, allocations: 32 kB / 0.9062 GB, free: 57.07 MB / 0.6042 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004172/0.2905, allocations: 0.6709 MB / 0.9069 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.2905, allocations: 19.94 kB / 0.9069 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2906, allocations: 0 / 0.9069 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.2906, allocations: 12 kB / 0.9069 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2908, allocations: 7.984 kB / 0.9069 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.2912, allocations: 216 kB / 0.9071 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2913, allocations: 0.6848 MB / 0.9078 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.2913, allocations: 4 kB / 0.9078 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.2914, allocations: 15.44 kB / 0.9078 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2914, allocations: 4 kB / 0.9078 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08752/0.3789, allocations: 1.946 MB / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.3792, allocations: 279.3 kB / 0.91 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.136, allocations: 0 / 0.91 GB, free: 53.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)