Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 70.95 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002516/0.2618, allocations: 1.349 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.2635, allocations: 1.116 MB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.2635, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.2636, allocations: 3.938 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.2636, allocations: 3.938 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.2643, allocations: 215.2 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.2643, allocations: 31.8 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.2644, allocations: 4.281 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.2645, allocations: 11.98 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.2645, allocations: 15.92 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2646, allocations: 0 / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.2651, allocations: 427.5 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2652, allocations: 7.922 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.2652, allocations: 11.94 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.2655, allocations: 191.6 kB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2655, allocations: 0 / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2655, allocations: 4 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2655, allocations: 0 / 0.787 GB, free: 9.809 MB / 0.6075 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.0004468/0.266, allocations: 379.3 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.266, allocations: 15.97 kB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.2661, allocations: 42.73 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2661, allocations: 4.844 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2662, allocations: 164.4 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.2662, allocations: 384 / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2662, allocations: 4.375 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.2663, allocations: 41.81 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2664, allocations: 0 / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.2664, allocations: 3.938 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2664, allocations: 4 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.2664, allocations: 11.98 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.2666, allocations: 173.6 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.2667, allocations: 34.62 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.2667, allocations: 16.88 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008405/0.2676, allocations: 0.9856 MB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2676, allocations: 38.5 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2676, allocations: 0 / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.2678, allocations: 57.81 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2678, allocations: 55.34 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.2679, allocations: 109.8 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2679, allocations: 29.7 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.268, allocations: 84.14 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.268, allocations: 11.75 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2681, allocations: 21.7 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.2682, allocations: 314.8 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.2682, allocations: 8 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.2682, allocations: 7.984 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.2683, allocations: 24.84 kB / 0.7895 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2683, allocations: 0 / 0.7895 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.033e-05/0.2683, allocations: 57.56 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2684, allocations: 8 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2684, allocations: 320 / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2684, allocations: 0 / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2685, allocations: 12 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2685, allocations: 0 / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.2685, allocations: 0 / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2686, allocations: 3.984 kB / 0.7896 GB, free: 6.664 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/0.2686, allocations: 121.8 kB / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.2687, allocations: 7.844 kB / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.2688, allocations: 61.53 kB / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2688, allocations: 0 / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2688, allocations: 4 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2688, allocations: 0 / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2689, allocations: 161.6 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2689, allocations: 4 kB / 0.79 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.269, allocations: 11.94 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.269, allocations: 8 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.269, allocations: 0 / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.269, allocations: 0 / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2691, allocations: 0 / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.807e-05/0.2692, allocations: 77.06 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2692, allocations: 92.94 kB / 0.7901 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2692, allocations: 0 / 0.7901 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.2692, allocations: 0 / 0.7901 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.2693, allocations: 4 kB / 0.7901 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2693, allocations: 8 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.2693, allocations: 83.27 kB / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2693, allocations: 0 / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00022/0.2695, allocations: 43.94 kB / 0.7903 GB, free: 5.879 MB / 0.6075 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 (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.0004645/0.27, allocations: 0.667 MB / 0.7909 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.627e-05/0.2701, allocations: 28.2 kB / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2701, allocations: 0 / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.2702, allocations: 12 kB / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.2704, allocations: 7.266 kB / 0.791 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.2708, allocations: 209.9 kB / 0.7912 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2711, allocations: 0.6768 MB / 0.7918 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.2711, allocations: 10.66 kB / 0.7918 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2711, allocations: 19.42 kB / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2711, allocations: 0 / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.2901, allocations: 2.169 MB / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.193, allocations: 7.75 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)