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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001602/0.001602, allocations: 192 kB / 16.13 MB, free: 6.668 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.322/1.322, allocations: 205.1 MB / 222 MB, free: 4.73 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.644/1.644, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001386/0.001386, allocations: 62.44 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.196, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002231/0.1983, allocations: 1.421 MB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1999, allocations: 1.16 MB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.1999, allocations: 0 / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.1999, allocations: 0 / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.2, allocations: 7.922 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.2004, allocations: 158.7 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.2005, allocations: 35.8 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.2005, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.2006, allocations: 8 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.2006, allocations: 15.92 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2006, allocations: 4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.2012, allocations: 423.4 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.2012, allocations: 7.938 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2012, allocations: 11.94 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2015, allocations: 195.9 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2015, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2015, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2015, allocations: 0 / 0.7862 GB, free: 10.39 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.0003774/0.2019, allocations: 383.4 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2019, allocations: 12.03 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.202, allocations: 34.75 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.202, allocations: 8.844 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/0.2021, allocations: 164.4 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.2021, allocations: 384 / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.2021, allocations: 4.375 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.607e-05/0.2022, allocations: 45.75 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2022, allocations: 3.938 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.2022, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2022, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.2023, allocations: 11.98 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.2024, allocations: 169.6 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.2025, allocations: 46.53 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.2025, allocations: 16.89 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.2034, allocations: 0.9856 MB / 0.788 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2034, allocations: 38.44 kB / 0.7881 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2034, allocations: 0 / 0.7881 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.2036, allocations: 53.69 kB / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2036, allocations: 51.41 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.2037, allocations: 105.8 kB / 0.7883 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2037, allocations: 29.7 kB / 0.7883 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2037, allocations: 96.11 kB / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2037, allocations: 11.75 kB / 0.7884 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.2038, allocations: 17.72 kB / 0.7884 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.2039, allocations: 310.8 kB / 0.7887 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.2039, allocations: 11.98 kB / 0.7887 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.2039, allocations: 8 kB / 0.7887 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.204, allocations: 20.8 kB / 0.7887 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.204, allocations: 4 kB / 0.7888 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.467e-05/0.204, allocations: 53.62 kB / 0.7888 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2041, allocations: 4 kB / 0.7888 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2041, allocations: 0 / 0.7888 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2041, allocations: 8 kB / 0.7888 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2042, allocations: 11.98 kB / 0.7888 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2042, allocations: 4 kB / 0.7888 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.2042, allocations: 4 kB / 0.7888 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.2042, allocations: 0 / 0.7888 GB, free: 7.242 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 6.086e-05/0.2043, allocations: 117.8 kB / 0.7889 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.2043, allocations: 7.844 kB / 0.789 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.2044, allocations: 61.58 kB / 0.789 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2045, allocations: 0 / 0.789 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2045, allocations: 0 / 0.789 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2045, allocations: 7.938 kB / 0.789 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.2046, allocations: 153.7 kB / 0.7892 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2046, allocations: 0 / 0.7892 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.2047, allocations: 19.92 kB / 0.7892 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2047, allocations: 0 / 0.7892 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2047, allocations: 12 kB / 0.7892 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2047, allocations: 0 / 0.7892 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2047, allocations: 0 / 0.7892 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.963e-05/0.2048, allocations: 73.44 kB / 0.7893 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2048, allocations: 85 kB / 0.7893 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2048, allocations: 7.984 kB / 0.7894 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.2049, allocations: 4 kB / 0.7894 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.2049, allocations: 7.922 kB / 0.7894 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2049, allocations: 8 kB / 0.7894 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.2049, allocations: 79.28 kB / 0.7894 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2049, allocations: 0 / 0.7894 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002202/0.2052, allocations: 47.92 kB / 0.7895 GB, free: 6.453 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.0004178/0.2056, allocations: 0.6592 MB / 0.7901 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.2057, allocations: 20 kB / 0.7902 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2057, allocations: 0 / 0.7902 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.2057, allocations: 11.98 kB / 0.7902 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2059, allocations: 12.45 kB / 0.7902 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.2063, allocations: 211.5 kB / 0.7904 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2065, allocations: 0.6809 MB / 0.791 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.2066, allocations: 0 / 0.791 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.2066, allocations: 15.44 kB / 0.7911 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2066, allocations: 0 / 0.7911 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.291/1.498, allocations: 2.046 MB / 0.7931 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.498, allocations: 300.3 kB / 0.7933 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/3.162, allocations: 0 / 0.7933 GB, free: 2.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --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)